mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-09 22:44:31 +08:00
feat: 显示自定义工具栏
This commit is contained in:
1 parent
9adcb5543f
commit
56ff2098f7
8 files changed
+330
-1
No files matched your search
@@ -333,3 +333,9 @@ export function getStatusLabel(name: string) {
|
||||
}[name] || name
|
||||
);
|
||||
}
|
||||
|
||||
export function flipBinary(num: number, col: number) {
|
||||
const n = 1 << col;
|
||||
if (num & col) return num & ~n;
|
||||
else return num | n;
|
||||
}
|
||||
Reference in new issue
Block a user