mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
LibGUI: Register "jump_to_cursor" as a GML property
This commit is contained in:
parent
33ea96912a
commit
a2ca2d8364
Notes:
sideshowbarker
2024-07-17 21:11:12 +09:00
Author: https://github.com/implicitfield Commit: https://github.com/SerenityOS/serenity/commit/a2ca2d8364 Pull-request: https://github.com/SerenityOS/serenity/pull/16907 Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ Slider::Slider(Orientation orientation)
|
|||
REGISTER_ENUM_PROPERTY("knob_size_mode", knob_size_mode, set_knob_size_mode, KnobSizeMode,
|
||||
{ KnobSizeMode::Fixed, "Fixed" },
|
||||
{ KnobSizeMode::Proportional, "Proportional" });
|
||||
REGISTER_BOOL_PROPERTY("jump_to_cursor", jump_to_cursor, set_jump_to_cursor);
|
||||
}
|
||||
|
||||
void Slider::paint_event(PaintEvent& event)
|
||||
|
|
Loading…
Reference in a new issue