Move away from browser as a main plataform
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
// the client in a browser page, see platform.ts
|
||||
import type { Platform } from "./platform.ts";
|
||||
import { render_debug } from "./renderer/mod.ts";
|
||||
import { confirm_mods } from "./confirm_mods.ts";
|
||||
import { CreditsScreen } from "./gui/credits_screen.ts";
|
||||
import { is_mouse_grabbed, set_mouse_grabbed, take_lost_pointer_lock, toggle_fullscreen } from "./browser_input.ts";
|
||||
|
||||
@@ -103,7 +102,6 @@ export const browser_platform: Platform = {
|
||||
self.onbeforeunload = confirm ? (event) => event.preventDefault() : null;
|
||||
},
|
||||
show_fatal_error,
|
||||
confirm_mods,
|
||||
credits_screen: (on_back) => new CreditsScreen(on_back),
|
||||
read_clipboard: () =>
|
||||
navigator.clipboard ? navigator.clipboard.readText() : Promise.reject(new Error("No clipboard")),
|
||||
|
||||
Reference in New Issue
Block a user