Commit Graph

6262 Commits

Author SHA1 Message Date
4e507792f2 Merge pull request #105918 from DarkMessiah/fix_tree_item_custom_bg_color
Fix background size calculation in TreeItem
2025-05-13 16:22:14 -05:00
7d363c2d5c Merge pull request #105560 from BrotherShort/Make-controls-more-precise
Make the position and the size of FileSystem controls more precise
2025-05-13 01:04:43 +02:00
a52a7a4a48 Make the position and the size of FileSystem controls more precise 2025-05-11 00:31:49 +08:00
8fa1f36914 Merge pull request #106189 from roughbits01/fix-typo
Fix a typo in variable name in ProgressBar class
2025-05-09 11:29:20 -05:00
a75286840b Merge pull request #106141 from L2750558108/fix-control-position
Fix unexpected control position change when left/top offsets not match `pos_cache`
2025-05-09 11:29:13 -05:00
720712b21e Fix a typo in a variable name 2025-05-09 00:09:26 +02:00
182be69a1e Merge pull request #106151 from SaNeOr/fix-106123
Fix editor crash when middle mouse button is clicked on empty space in scene tabs
2025-05-08 07:19:32 -05:00
0785c9ad81 fix Editor Crashes When Middle Mouse Button Is Clicked on Empty Space in scene_tabs 2025-05-08 12:04:53 +08:00
affbfa5b4e Merge pull request #89746 from KoBeWi/NOTification
Remove `NOTIFICATION_ENTER_TREE` when `NOTIFICATION_THEME_CHANGED` is used
2025-05-07 12:48:21 -05:00
42b50abf15 Merge pull request #106113 from lodetrick/add-dictionary-type-hints
Add missing dictionary and array type hints
2025-05-07 12:48:04 -05:00
49c7966042 Fix unexpected control position change when left/top offsets not match pos_cache 2025-05-07 18:46:40 +08:00
247520b348 Add missing dictionary and array type hints 2025-05-06 12:35:19 -07:00
a2c9e7920d Merge pull request #105647 from KoBeWi/optional_options
Improve FileDialog options
2025-05-06 08:38:01 -05:00
5e1964d9b0 Merge pull request #106124 from KoBeWi/destructor_must_be_destroyed
Remove empty constructors and destructors from `scene/`
2025-05-06 08:37:58 -05:00
cc5857728d Merge pull request #106114 from m4gr3d/disable_auto_keyboard_popup
Add property to control showing the virtual keyboard on focus events
2025-05-06 08:37:40 -05:00
d32d2e9b51 Remove NOTIFICATION_ENTER_TREE when NOTIFICATION_THEME_CHANGED is used 2025-05-06 15:28:03 +02:00
34b485d62b Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
f29feac7a5 Add a LineEdit / TextEdit property to control whether the virtual keyboard should show on focus 2025-05-05 22:01:34 -04:00
5aca298548 Merge pull request #106051 from dalexeev/move-alt-codes-from-char-range
Move `alt_code_oem437` and `alt_code_cp1252` to separate header file
2025-05-05 11:24:14 -05:00
413cb795cd Move alt_code_oem437 and alt_code_cp1252 to separate header file 2025-05-03 11:52:49 +03:00
7fe61c7e84 Change FileDialog's Tree to ItemList 2025-05-03 01:34:35 +02:00
1cf573f44d Merge pull request #105887 from Repiteo/core/modernize-headers
Core: Modernize C headers with C++ equivalents
2025-05-02 09:25:29 -05:00
01fc9aee6c Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
kit
e6cb7affdc Allow Control Rect tool to not snap to pixel 2025-05-01 19:47:17 -04:00
82e23da12e Add drag zoom feature with CTRL+MiddleMouseButton
This change introduces a DragType enum to scene/gui/view_panner.cpp of
dragging, which includes:

- DRAG_TYPE_NONE: Not dragging
- DRAG_TYPE_PAN: Panning (dragging using MMB)
- DRAG_TYPE_ZOOM: Zooming (dragging using CTRL+MMB)

The goal of this change is the third option, which was already available
in 3D viewport but not in 2D. This feature should work in other editors
as well such as Animation Track Editor and Visual Shader Editor and so
on.
2025-05-01 15:15:44 +03:30
f4f1471b57 Merge pull request #105910 from lawnjelly/global_get_fast4
Add `GLOBAL_GET` cached macros.
2025-04-30 09:18:44 -05:00
f8f350a32a Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
daaf4119de Improve ColorPicker 2025-04-30 11:50:35 +02:00
efd29f4caa Fix background size calculation in TreeItem 2025-04-29 19:58:29 +02:00
b1b873add3 Merge pull request #104731 from Delsin-Yu/stackable-text-effect
[GUI] Implement Stackable Text Outline on `Label`
2025-04-29 11:24:13 -05:00
bc21c322c6 Merge pull request #105880 from KoBeWi/deadline
Remove inline from constexpr variables
2025-04-29 11:24:13 -05:00
316af6aa36 Editor: Allow non-finite values in Range
Co-Authored-By: Aaron Franke <arnfranke@yahoo.com>
2025-04-29 11:08:46 -05:00
1d1805483f Merge pull request #105815 from timothyqiu/anchors-presets
Fix item translation and icon in the Anchors Preset dropdown
2025-04-28 18:45:55 -05:00
fc1ffeb5e0 Merge pull request #105870 from bruvzg/te_margin_round
[TextEdit] Fix margin rounding at sub 100% scale.
2025-04-28 14:10:52 -05:00
5125a273dc Remove inline from constexpr variables 2025-04-28 21:09:43 +02:00
67c96c89cc Merge pull request #105855 from bruvzg/color_ac_typo
Fix ColorPicker preset button format string typo.
2025-04-28 10:01:36 -05:00
c0935eba0d Merge pull request #105846 from KoBeWi/you_call_it_title_but_it's_just_a_text
Rename FoldableContainer's `text` to `title`
2025-04-28 10:01:36 -05:00
6065073a69 Merge pull request #105857 from bruvzg/te_rtl_ac
[TextEdit] Fix caret cut of in RTL layout, account for wrapped line indents in accessibility updates.
2025-04-28 10:01:29 -05:00
1794098b47 [TextEdit] Fix margin rounding at sub 100% scale. 2025-04-28 17:22:58 +03:00
3578aa6acc Fix item translation and icon in the Anchors Preset dropdown
- Some items were not translated.
- Item icons did not react to light/dark theme switch.
2025-04-28 19:50:24 +08:00
fd1eeacf23 [ScrollContainer] Fix focus rect draw position in RTL layout. 2025-04-28 11:26:01 +03:00
fb99c01381 [TextEdit] Fix caret cut of in RTL layout, account for wrapped line indents in accessibility updates. 2025-04-28 11:22:33 +03:00
4cc50e40ec Fix ColorPicker preset button format string typo. 2025-04-28 08:03:52 +03:00
1b4ed4c038 Merge pull request #105595 from bruvzg/focus_fx
Fix `FOCUS_ACCESSIBILITY` grabbing focus when it is not supposed to, forward `GraphNode` key input to `GraphEdit`.
2025-04-27 19:21:34 -05:00
9c324a8524 Merge pull request #103414 from dugramen/itemlist-shift-key-select
ItemList multiselect with shift up & down arrow keys
2025-04-27 19:21:33 -05:00
9967dde20b Merge pull request #105306 from KoBeWi/pwat
`Range`: Remove useless `p_what` argument
2025-04-27 19:21:29 -05:00
bdd3cb3f31 Merge pull request #103382 from dugramen/tree-shift-select
Add tree multiselect with shift up & down arrow keys
2025-04-27 19:21:27 -05:00
1a2a1b07df Merge pull request #105799 from Repiteo/scons/enum-conversion-warnings
SCons: Add enum conversion warning
2025-04-27 19:21:23 -05:00
3947cbe3b2 Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
4dbfcbfbbd Merge pull request #105504 from ExEago/master
`RichTextLabel`: Add methods to compute the height and width of a line
2025-04-27 19:21:15 -05:00