mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-21 04:02:47 +01:00
Finilize VPC View support
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import log from 'loglevel';
|
||||
|
||||
const APP_VERSION = 6;
|
||||
const APP_VERSION = 7;
|
||||
|
||||
export type PersistedAppData = {
|
||||
emphasizeBytes: boolean;
|
||||
@@ -59,6 +59,14 @@ export default class AppState {
|
||||
this.triggerChanged();
|
||||
}
|
||||
|
||||
removeResult(index: number) {
|
||||
if(index < 0 || index >= this.commandResults.length)
|
||||
return;
|
||||
|
||||
this.commandResults.splice(index, 1);
|
||||
this.triggerChanged();
|
||||
}
|
||||
|
||||
toggleEmphasizeBytes() {
|
||||
this.emphasizeBytes = !this.emphasizeBytes;
|
||||
this.triggerChanged();
|
||||
|
||||
Reference in New Issue
Block a user