mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 07:21:02 -04:00
[#181] tidying up with docs and notes for tomorrow :)
This commit is contained in:
parent
5d82ca66f3
commit
8d693a7d0e
1 changed files with 22 additions and 4 deletions
|
@ -330,8 +330,6 @@ class App {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.adjustComponentSizes();
|
this.adjustComponentSizes();
|
||||||
|
|
||||||
// @TODO: handle sortable, draggable, popovers functionality etc.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -882,16 +880,36 @@ class App {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A collection of function calls that need to fire on
|
||||||
|
* window resizing when the window inner width >= the
|
||||||
|
* breakpoint
|
||||||
|
*
|
||||||
|
* @param {boolean} minimise
|
||||||
|
*/
|
||||||
setDesktopUI(minimise){
|
setDesktopUI(minimise){
|
||||||
this.setDesktopLayout(minimise);
|
this.setDesktopLayout(minimise);
|
||||||
// we don't want to display any checkmarks on desktop, so we clear them
|
|
||||||
|
/**
|
||||||
|
* We don't want to display any checkmarks on desktop, so we clear them.
|
||||||
|
* It has no effect on the recipe list, it's purely a visual indicator
|
||||||
|
*/
|
||||||
this.manager.recipe.clearAllSelectedClasses();
|
this.manager.recipe.clearAllSelectedClasses();
|
||||||
|
|
||||||
|
// @TODO: handle sortable, draggable, popovers functionality. Works fine on init but needs to work on window resizing too
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A collection of function calls that need to fire on
|
||||||
|
* window resizing when the window inner width < the
|
||||||
|
* breakpoint
|
||||||
|
*/
|
||||||
setMobileUI(){
|
setMobileUI(){
|
||||||
this.setMobileLayout();
|
this.setMobileLayout();
|
||||||
// on window resizing below breakpoint, we want to put the checkmarks back
|
// on window resizing below breakpoint, we need to put the checkmarks back
|
||||||
this.manager.recipe.updateSelectedOperations();
|
this.manager.recipe.updateSelectedOperations();
|
||||||
|
|
||||||
|
// @TODO: handle sortable, draggable, popovers functionality. Works fine on init but needs to work on window resizing too
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue