forked from Blendman974/faceclaw
Move and rename DashboardInputEvent->InputEvent
This commit is contained in:
1 parent
3e8be93833
commit
80d688dd4e
51 files changed
+299
-361
No files matched your search
@@ -1,11 +1,7 @@
|
||||
import { GrayImage } from "../graphics/image";
|
||||
import { singlePlane, type Plane } from "../graphics/plane";
|
||||
import {
|
||||
noopLayerActions,
|
||||
LayerStack,
|
||||
type DashboardInputEvent,
|
||||
type Layer,
|
||||
} from "./layers";
|
||||
import { type InputEvent } from "./gestures";
|
||||
import { type Layer, LayerStack, noopLayerActions } from "./layers";
|
||||
import { MenuLayer, type MenuItem, type MenuLayout } from "./menu";
|
||||
import type { WorkerAppReply } from "./shell/worker-window";
|
||||
|
||||
@@ -67,7 +63,7 @@ export class WindowMenu {
|
||||
}
|
||||
|
||||
/** Route an input event to the menu; the menu closes by popping itself. */
|
||||
async handleInput(event: DashboardInputEvent): Promise<void> {
|
||||
async handleInput(event: InputEvent): Promise<void> {
|
||||
const stack = this.stack;
|
||||
if (!stack) return;
|
||||
await stack.handleInput(event);
|
||||
|
||||
Reference in new issue
Block a user