mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 04:38:12 +08:00
Revamp UI styling to remove accent color; improve tab navigation
This commit is contained in:
@@ -513,6 +513,8 @@ export default defineComponent({
|
||||
async open(newState: boolean, oldState: boolean) {
|
||||
// Switching from closed to open
|
||||
if (newState && !oldState) {
|
||||
// TODO: Close any other floating menus that may already be open, which can happen using tab navigation and Enter/Space Bar to open
|
||||
|
||||
// Close floating menu if pointer strays far enough away
|
||||
window.addEventListener("pointermove", this.pointerMoveHandler);
|
||||
// Close floating menu if esc is pressed
|
||||
|
||||
Reference in New Issue
Block a user