mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
[#181] handle checkmarks on window resizing
This commit is contained in:
parent
5e9aa5cd09
commit
5d82ca66f3
3 changed files with 15 additions and 2 deletions
|
@ -881,6 +881,18 @@ class App {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
setDesktopUI(minimise){
|
||||
this.setDesktopLayout(minimise);
|
||||
// we don't want to display any checkmarks on desktop, so we clear them
|
||||
this.manager.recipe.clearAllSelectedClasses();
|
||||
}
|
||||
|
||||
setMobileUI(){
|
||||
this.setMobileLayout();
|
||||
// on window resizing below breakpoint, we want to put the checkmarks back
|
||||
this.manager.recipe.updateSelectedOperations();
|
||||
}
|
||||
}
|
||||
|
||||
export default App;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue