Move and rename DashboardInputEvent->InputEvent

This commit is contained in:
James Babcock committed 2026-08-30 13:02:44 -07:00
1 parent 3e8be93833
commit 80d688dd4e
51 files changed
+299 -361

No files matched your search

+3 -2
View File
@@ -1,6 +1,7 @@
import { GrayImage } from "../../graphics/image";
import { flattenPlanes } from "../../graphics/plane";
import { DashboardInputEvent, Layer, LayerActions, LayerContext, LayerStack, PaintBelow } from "../layers";
import { InputEvent } from "../gestures";
import { Layer, LayerActions, LayerContext, LayerStack, PaintBelow } from "../layers";
import { appViewportRect, appViewportSize, SHELL_OPAQUE_BLACK } from "./geometry";
// The modal covers most of the min-height app viewport, leaving a little of
@@ -59,7 +60,7 @@ export class ShellModalLayer implements Layer {
return image;
}
async handleInput(event: DashboardInputEvent, _ctx: LayerContext): Promise<void> {
async handleInput(event: InputEvent, _ctx: LayerContext): Promise<void> {
await this.stack.handleInput(event);
}
}