40 Commits

Author SHA1 Message Date
Fingercomp
c9f8f4a123
Don't spam drag events if asked nicely 2025-08-31 19:45:56 +03:00
UnicornFreedom
b17efa3aa2
Fix cursor movement when mouse is pressed 2025-08-31 18:13:40 +02:00
UnicornFreedom
7316baa390
Simplify code, allow Shift+Click selections 2025-08-31 17:55:49 +02:00
UnicornFreedom
313e5c8b6a
Remove unnecessary keyboard event repeats 2025-08-22 15:21:36 +02:00
UnicornFreedom
6f5f84e5fd
Fix cursor positioning on TextInput text set 2025-08-22 15:20:01 +02:00
UnicornFreedom
4e9d7c96e2
Allow selecting current word by double click 2025-08-22 11:19:18 +02:00
UnicornFreedom
a8dc52f1b2
Add context menu to the TextInput 2025-08-22 03:46:01 +02:00
UnicornFreedom
c796b74ea3
Add support for TextInput text selection 2025-08-22 02:59:24 +02:00
UnicornFreedom
9511f586a6
Fix hash collisions in Watcher + more discreet scroll updates 2025-08-21 16:47:25 +02:00
UnicornFreedom
90a01493db
Support non-BMP codepoints in TextInput 2025-08-21 16:21:08 +02:00
UnicornFreedom
349280d802
Split text state and cursor state 2025-08-21 13:23:21 +02:00
UnicornFreedom
605023118f
Split TextInput state from presentation 2025-08-21 13:11:58 +02:00
UnicornFreedom
3bee61832f
Small corrections and refactoring 2025-08-21 11:34:08 +02:00
UnicornFreedom
841733f6fe
Simplify TextInput and fix few small bugs 2025-08-21 11:34:08 +02:00
UnicornFreedom
81840e4fab
Initial refactoring of TextInput 2025-08-21 11:34:06 +02:00
Fingercomp
182d42a843
Pull ScreenView out of ScreenWindow 2025-07-31 18:29:53 +03:00
LeshaInc
ee4f2dcc3b Add scalafmt 2025-01-30 20:29:55 +00:00
Fingercomp
68643be2b8
Make focused text fields and screen windows consume handled events 2025-01-25 22:19:48 +03:00
Fingercomp
47a858b788
Register clicks as long as the button is released within the bounds 2025-01-25 01:57:50 +03:00
Fingercomp
1a64e949dd
Unify ClickHandler and DragHandler
This fixes long-standing annoyances regarding click detection: if a
widget handles both the click and the drag events, pressing down a
button, dragging the cursor away, moving it back, and releasing the
button would trigger a click event. No other UI behaves like that.
2025-01-25 01:35:25 +03:00
Fingercomp
5b6e378000
Highlight the rest of IconButtons on mouse hover
See #143.
2025-01-24 01:39:18 +03:00
Fingercomp
aa635a6d1c
Leave words of wisdom for whoever touches TextInput code again
Let's hope it won't be me who does that.
2025-01-23 21:10:58 +03:00
Fingercomp
b1a1cef365
Allow both left and right modifiers in key bindings 2025-01-23 19:53:36 +03:00
UnicornFreedom
d12fdee3d7 Add hover animation to text inputs 2025-01-03 03:04:51 +01:00
UnicornFreedom
150d324777 Allow to set text input "placeholder" value 2025-01-02 12:12:04 +01:00
Igor Timofeev
b055436b43 Added racks, servers & mountable disk drives 2023-06-28 14:58:06 +00:00
Fingercomp
f9f1937cc9
Tweak colors, paddings, etc. 2023-06-16 05:01:21 +07:00
Fingercomp
565c9c81aa
Add a disk edit window 2023-06-16 01:22:47 +07:00
UnicornFreedom
eb2199f4a7 Add ticker interval history 2023-02-23 17:37:01 +01:00
UnicornFreedom
acaa706f44 Cursor in TextInput can be moved by mouse 2023-02-23 02:46:12 +01:00
UnicornFreedom
6578b82164 Allow changing linked card channel 2023-02-23 01:59:58 +01:00
IgorTimofeev
0464faec04 Added EEPROM source URL validity check 2022-09-28 15:33:57 +03:00
IgorTimofeev
4b17f4eec8 Added support for URL as an external data source for EEPROM & unified input dialogs 2022-09-28 13:31:45 +03:00
UnicornFreedom
9acb9285c8 Allow to confirm small dialogs by pressing [Enter] in the input field 2022-06-23 13:16:58 +02:00
140bpmdubstep
775e168865 Fixed #35 2022-06-18 11:54:41 +03:00
LeshaInc
e81cced698
Code cleanup 2021-09-05 22:56:06 +03:00
LeshaInc
b7548d3ec1
Allow changing simulation speed 2021-05-20 20:32:40 +03:00
LeshaInc
5eebba96ae
Auto focus text input 2021-05-20 19:43:37 +03:00
LeshaInc
f00091da8d
Allow changing node labels 2021-05-20 19:13:51 +03:00
LeshaInc
50cd71c00c
Basic text field 2021-05-18 15:59:10 +03:00