Commit graph

5117 commits

Author SHA1 Message Date
Haoyu Qiu
58db3e5d7b Emit slider's drag_started signal before the first value change 2023-12-21 11:23:35 +08:00
Yuri Sizov
b8635157eb Merge pull request #86218 from TheSofox/arrow-key-scene-tree-nav
Fix `Node` selection when navigating `Tree` with Arrow keys
2023-12-20 15:07:59 +01:00
Yuri Sizov
02bc2a37dd Merge pull request #86118 from TheSofox/complex-undo-select-fix
Fix so undoing complex operations in `TextEdit` will restore selections
2023-12-20 15:07:52 +01:00
Yuri Sizov
40e7192393 Merge pull request #85191 from HolonProduction/off-by-one-code-edit
Fix updating delimiter cache of `CodeEdit` when typing on the first line
2023-12-20 15:07:44 +01:00
Yuri Sizov
3a44484ab8 Merge pull request #83623 from rarysson/label-progressbar-allow-greater
Make ProgressBar reflect the real value in the percent label when "allow greater" is checked
2023-12-20 15:07:30 +01:00
Sofox
4b82cacc21 Fix so undoing complex operations in TextEdit will restore selections. 2023-12-20 00:12:52 +00:00
Yuri Sizov
26834d298d Merge pull request #85652 from rsubtil/bugfix-can_grab_focus
Ensure slider grabs focus only when it can
2023-12-19 20:33:05 +01:00
Yuri Sizov
7182c47309 Merge pull request #85436 from chocola-mint/fix-#85401
Make it possible to show code hint and code completion at the same time
2023-12-19 20:32:50 +01:00
Yuri Sizov
179b8c7973 Merge pull request #84185 from bruvzg/lbl_char_rects
[Label] Add get_character_bounds method to get bounding rectangles of the characters.
2023-12-19 20:32:39 +01:00
Yuri Sizov
b9dff50282 Merge pull request #83785 from Geometror/graphedit-dotted-grid
Add dotted grid to GraphEdit
2023-12-19 20:32:35 +01:00
CHM
3744ef50e4 Make it possible to show code hint and code completion at the same time
Make code completion position more consistent

Add whitespace before if
2023-12-19 19:34:34 +01:00
Yuri Sizov
547374b07a Merge pull request #85473 from miv391/fix-horizontal-mouse-wheeling-in-2d-view
Fix horizontal scroll in editor's 2D view
2023-12-19 13:02:04 +01:00
Yuri Sizov
02d4579fa2 Merge pull request #85000 from bruvzg/ed_ui_direction
[Editor] Add option to override editor UI layout direction.
2023-12-19 13:01:35 +01:00
Yuri Sizov
1ecba5d341 Merge pull request #84940 from Calinou/editor-textureprogressbar-inspector-hide-properties
Hide ineffective TextureProgressBar properties in the editor
2023-12-19 13:01:30 +01:00
Yuri Sizov
7aae85edfd Merge pull request #84845 from DarkMessiah/tree-disabled-checkbox
Implement disabled state for Checkbox in Tree
2023-12-19 13:01:25 +01:00
Yuri Sizov
8a9aa30348 Merge pull request #81243 from Sauermann/fix-window-events
Fix internal events not being delivered to some Window types
2023-12-19 13:01:00 +01:00
bruvzg
e9c219cff2
[Label] Add get_character_bounds method to get bounding rectangles of the characters. 2023-12-19 13:53:21 +02:00
Yuri Sizov
1125235c95 Merge pull request #85749 from bs-mwoerner/color_picker_quantize_fix
Fix unnecessarily quantizing current color in color picker
2023-12-18 18:17:53 +01:00
Yuri Sizov
644e236e5c Merge pull request #83987 from bruvzg/macos_window_and_help
[macOS] Add default Window and Help menus, allow special menu customization.
2023-12-18 18:17:41 +01:00
HolonProduction
d5847fa54e Fix updating delimiter cache of CodeEdit when typing on the first line 2023-12-18 14:07:46 +01:00
Michael Wörner
21d778b0c3 Changed HTML input color_changed logic.
Made the HTML field send change events based on whether the new color's string is different from the previous color's string (instead of whether the new string parses to the current color value).
Previously, updating the color value even when the corresponding string hadn't changed would unnecessarily quantize the color value to 8 bits just by opening/closing the Color Picker.
2023-12-17 15:36:57 +01:00
Sofox
f894eb1768 Fixes Node selection when navigating SceneTree with Arrow keys 2023-12-16 19:53:04 +00:00
Yuri Sizov
a5529f759c Merge pull request #86129 from TheSofox/color-picker-memory
Remember last `color_mode` and `picker_shape` in `ColorPicker`s in the editor
2023-12-14 21:22:39 +01:00
Sofox
7979412c75 Remember last 'color_mode' and 'picker_shape' in 'ColorPicker's in the editor 2023-12-14 18:57:57 +00:00
bruvzg
0d44b50520
[macOS] Add default Window and Help menus, allow special menu customization. 2023-12-13 23:20:05 +02:00
Wilson E. Alvarez
80fb8db31f
Remove unnecessary assignments
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-13 11:06:26 -05:00
Rémi Verschelde
2d5ceaab3e
Merge pull request #86028 from jsjtxietian/prevent-crash-when-notify-change-empty-tree
Prevent crash when calling `set_text()` on a removed TreeItem
2023-12-13 10:32:48 +01:00
jsjtxietian
7a2831db57 Prevent crash when call set_text() on a removed treeItem 2023-12-12 12:58:14 +08:00
Rémi Verschelde
15a03ed98e
Merge pull request #86034 from kleonc/color_picker_alpha_slider_fix_arrow_offset
Fix `ColorPicker`'s alpha slider arrow offset
2023-12-12 00:34:37 +01:00
Rémi Verschelde
4e2350b1af
Merge pull request #82661 from bruvzg/custom_ellipsis
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback.
2023-12-12 00:15:34 +01:00
kleonc
d76d8c5f29 Fix ColorPicker's alpha slider arrow offset 2023-12-11 16:17:45 +01:00
Yuri Sizov
6269341461 Merge pull request #85054 from miv391/highlight-minimap-error-lines
Highlight error lines in minimap
2023-12-08 18:45:54 +01:00
Yuri Sizov
6c86974022 Merge pull request #84122 from kitbdev/fix-dock-visibility
Fix dock visibility issues
2023-12-08 15:23:09 +01:00
Yuri Sizov
ae4e48246a Merge pull request #80994 from aitorciki/zoom-from-pan-gesture
Trigger zoom from pan gestures when pressing ctrl
2023-12-08 15:22:43 +01:00
Mika Viskari
609eb8bc01 Highlight error lines in minimap 2023-12-07 16:26:08 +02:00
Rémi Verschelde
8580874d0f
Merge pull request #85363 from bruvzg/rtl_fx_nl
[RTL] Fix CharFX character offset calculation.
2023-12-04 23:12:48 +01:00
Rémi Verschelde
f444818c7e
Merge pull request #84794 from akien-mga/videoplayer-fix-reloading-translation-remapped-stream
VideoPlayer: Fix reloading translation remapped stream
2023-12-04 23:05:15 +01:00
Rémi Verschelde
cbae80006c
Merge pull request #82079 from RoyBerube/OutputScroll
Enable scrolling of output with UI scale changes
2023-12-04 22:57:33 +01:00
bruvzg
56579f397d
[Text Overrun] Add option to set custom ellipsis character, add support for system font fallback. 2023-12-04 08:21:42 +02:00
Ricardo Subtil
fde51aeb28 Ensure slider grabs focus only when it can 2023-12-02 11:06:06 +00:00
Mika Viskari
187bb61e7b Fix horizontal mouse wheeling in 2D editor view 2023-11-28 17:36:02 +02:00
bruvzg
7a59efac32
[RTL] Fix CharFX character offset calculation. 2023-11-26 00:07:46 +02:00
bruvzg
932174fedf
[Editor] Add option to override editor UI layout direction. 2023-11-17 14:56:45 +02:00
Lera Elvoé
60cb44e84c
Add GraphEdit connection layer child as internal 2023-11-17 15:29:39 +03:00
Hugo Locurcio
9f1870ec49
Hide ineffective TextureProgressBar properties in the editor
Radial fill properties only have an effect when using a radial fill mode.
Stretch margin properties only have an effet when Nine Patch Stretch
is enabled.
2023-11-15 18:35:54 +01:00
Stanislav Labzyuk
ff8797e980 Implement disabled state for Checkbox in Tree 2023-11-15 17:13:34 +01:00
Markus Sauermann
fa02d19fd1 Fix internal events not being delivered to some Window types
`AcceptDialog`, `Popup` and `PopupMenu` no longer subscribe to
"window_input" signal, because that is only sent if it is not an
internal signal.

Instead they receive events in `_input_from_window`. They ensure that
the event is also propagated to their super-function, just like
previously the signals would be treated.
2023-11-14 20:29:17 +01:00
Hendrik Brucker
1a8e676131 Add different grid patterns to GraphEdit 2023-11-14 19:48:31 +01:00
Rémi Verschelde
c26b36e0e5
Merge pull request #84870 from jsjtxietian/add-set-selected-protection
Make Tree's `set_selected` check if the TreeItem belongs to the tree
2023-11-14 19:31:47 +01:00
bruvzg
4a82d3b16d
[RTL] Fix excessive underline and table border draw calls. 2023-11-14 08:31:44 +02:00