Commit Graph

24 Commits

Author SHA1 Message Date
kit d357a7d0f9 Fix EditorSpinSlider when hidden 2024-08-01 12:14:56 -04:00
Rémi Verschelde ef3443ef35
Merge pull request #93165 from passivestar/scenetree-shortcut-focus
Prevent node rename shortcut from stealing focus from controls
2024-07-17 11:42:38 +02:00
passivestar 09f967bc00 Prevent node rename shortcut from stealing focus from controls 2024-07-09 16:29:35 +04:00
A Thousand Ships d519715d94
[Scene] Add `SceneStringNames::font(_size/_color)` 2024-06-18 17:24:27 +02:00
A Thousand Ships cade5b88d9
Use `CoreStringNames::normal` in more places 2024-05-30 22:57:54 +02:00
kobewi 413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
kit 5fd23730eb Fix editor spin slider RTL and margin 2024-05-02 08:34:46 -04:00
A Thousand Ships 56b05a5a3d
[Editor] Remove redundant code from `EditorSpinSlider` 2024-03-15 15:03:12 +01:00
passivestar 5689dbc209 Allow to abort `SpinSlider` value changes 2024-02-16 07:54:35 +04:00
Rémi Verschelde d584ce0122
Merge pull request #80544 from MewPurPur/buff-editorspinslider-2
Fix read-only EditorSpinSlider display
2024-02-09 18:08:55 +01:00
Yuri Sizov 95b27fe8c7 Reorganize code related to editor theming
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.

Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.

All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +01:00
kobewi 0e8f90f4c8 Update deferred calls to use Callables 2024-01-09 16:11:47 +01:00
Yuri Sizov 4f0e2ea86e Merge pull request #80699 from aXu-AP/spin-box-comma-decimals
Allow comma as a decimal separator for SpinBox
2023-09-28 20:04:02 +02:00
Rémi Verschelde 480590ceb2
Merge pull request #81278 from Alex2782/bugfix_EditorSpinSlider_clamp#81272
Fix clamping logic in `EditorSpinSlider`
2023-09-26 08:19:15 +02:00
aXu-AP 4d3dc0e944 Use comma as a decimal separator for SpinBox
Add support for comma ',' as a decimal separator for SpinBox. This implementation allows for expressions like `pow(2, 3)` to be used as well. If you use comma to separate decimals, use semicolon `;` to separate function parameters.
Change EditorSpinSlider behavior to match.
2023-09-21 15:45:37 +03:00
ajreckof 6afadbaa9f Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform 2023-09-19 10:29:07 +02:00
Alexander Hartmann 053d718154 Fixes the 'CLAMP' problem in the 'EditorSpinSlider' ...
... when arrow keys are pressed up or down.
2023-09-03 20:47:22 +02:00
bruvzg 5453503697
[Text Server] Store extra spacing of individual font variations. 2023-08-24 11:58:12 +03:00
MewPurPur fac939b7c3 Fix read-only EditorSpinSlider display 2023-08-12 15:30:42 +03:00
Markus Sauermann 42402aa7db Fix the distance for grabbing a EditorSpinSlider
Currently moving the mouse for a single pixel is enough to trigger
grabbing, which happens often unintentionally.
2023-06-16 09:39:49 +02:00
Winston Yallow 277e261acf
Add editor setting for spin slider sensibility 2023-04-27 13:45:24 +02:00
Samuele Panzeri b6abb34759 Fix editor spin slider remaining editable if set read_only during an edit and fix related animation player crash 2023-04-22 18:34:36 +02:00
Rémi Verschelde c5d9470c7c
Merge pull request #75765 from YuriSizov/editor-node-optimize-includes
Improve includes of `EditorNode` (and everything else)
2023-04-11 19:40:24 +02:00
Yuri Sizov 4154039832 Improve includes of EditorNode (and everything else)
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +02:00