mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-29 11:28:13 +08:00
Make menu lists searchable (#1499)
* Searchable font list * Bug fixes and UX polish for edge cases * More work, still more bugs to fix * Don't update highlight when not open * Bug fixes * Additional bug fixes and code review * Fix keyboard input being sent to backend --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
co-authored by
Keavon Chambers
parent
4cbba3d92b
commit
b31e8f7b6d
@@ -6,8 +6,6 @@ import { Transform, Type, plainToClass } from "class-transformer";
|
||||
import { type PopoverButtonStyle, type IconName, type IconSize } from "@graphite/utility-functions/icons";
|
||||
import { type WasmEditorInstance, type WasmRawInstance } from "@graphite/wasm-communication/editor";
|
||||
|
||||
import type MenuList from "@graphite/components/floating-menus/MenuList.svelte";
|
||||
|
||||
export class JsMessage {
|
||||
// The marker provides a way to check if an object is a sub-class constructor for a jsMessage.
|
||||
static readonly jsMessageMarker = true;
|
||||
@@ -713,12 +711,11 @@ export type MenuListEntry = MenuEntryCommon & {
|
||||
action?: () => void;
|
||||
children?: MenuListEntry[][];
|
||||
|
||||
value: string;
|
||||
shortcutRequiresLock?: boolean;
|
||||
value?: string;
|
||||
disabled?: boolean;
|
||||
tooltip?: string;
|
||||
font?: URL;
|
||||
ref?: MenuList;
|
||||
};
|
||||
|
||||
export class CurveManipulatorGroup {
|
||||
|
||||
Reference in New Issue
Block a user