Commit graph

1840 commits

Author SHA1 Message Date
volzhs 1e603b706e Update rect size on select 2019-01-16 20:44:34 +09:00
Juan Linietsky 6af8b7c955 Defer activated signal after tree has been traversed. 2019-01-14 17:20:54 -03:00
Juan Linietsky ed9b230744 Hide visible popups by default if visible when entering tree, unless on editor. Fixes #24737 2019-01-14 13:16:19 -03:00
bruvzg 55bc004a73
Update IME text only for focused input controls. 2019-01-08 22:52:56 +02:00
Timo Schwarzer 3b2e03cf0b
Fix jumping when scrolling down fast with smooth scroll enabled
Fixes #24773
2019-01-06 10:22:38 +01:00
Paulb23 411df08711 Fix text edit wrapping beyond control size, issue 23896 2019-01-05 16:58:54 +00:00
Rémi Verschelde fa5ca1bbf0
Merge pull request #24738 from timoschwarzer/24725-fit-child-in-rect-null-check
Check if p_child is not null in Container.fit_child_rect()
2019-01-04 14:54:57 +01:00
Timo Schwarzer a8f367a4b8
Check if p_child is not null in Container.fit_child_rect()
Fixes #24725
2019-01-03 22:33:07 +01:00
Rémi Verschelde 65a86ae17c
Merge pull request #24683 from SoIAS/autocompletion_menu_position_24674
Fixed autocompletion menu vertical position
2019-01-03 21:33:12 +01:00
Dawid Wdowiak 615ca1d59e Fixed autocompletion menu vertical position 2019-01-03 07:11:40 +01:00
Hugo Locurcio 574f90605d
Make GraphEdit lines smoother and scale their width on hiDPI displays 2019-01-02 23:29:48 +01:00
Rémi Verschelde b16c309f82 Update copyright statements to 2019
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde e3e36c963f
Merge pull request #24588 from volzhs/tree-relationship-line
Draw relationship lines when its value is higher than 0
2018-12-27 11:19:20 +01:00
Rémi Verschelde 2e39e38c10 doc: Sync classref with current source
Fix various code formatting issues and argument names.
2018-12-27 11:10:18 +01:00
Rémi Verschelde e86418f7a9
Merge pull request #24566 from thomasruiz/fix/completion-box-center-text-vertically
Center lines vertically in completion box
2018-12-27 08:55:17 +01:00
volzhs 6a43f0a901 Draw relationship lines when its value is higher than 0 2018-12-25 09:18:18 +09:00
Thomas Ruiz d2fa0658a2
Fix caret size with font smaller than row height 2018-12-23 14:29:33 +01:00
Thomas Ruiz 7fb0853c68
Center lines vertically in completion box 2018-12-23 12:19:27 +01:00
Paulb23 f1c6947702 Fix Word wrap cache desync causing crash 2018-12-18 13:12:46 +00:00
Rémi Verschelde a195b2f1a3
Merge pull request #24428 from akien-mga/label-uppercase
Label: Fix kerning when using Uppercase mode
2018-12-18 07:57:41 +01:00
Hein-Pieter van Braam c58b1608ea Don't accidentally convert string content to char
Due to the right hand side of the :? trickery the rhs was cast to a
char losing precision. Previously this didn't matter, but with
CharProxy it does. (Previously we could just happily cast it back to
a wchar_t and get the original 16 - 32 bits. Now we'll only ever
get the first 8).
2018-12-17 22:31:02 +01:00
Rémi Verschelde 7cb5e005ee Label: Fix kerning when using Uppercase mode
Seemingly a typo, I did not check what exact impact it had, but
the x_ofs would likely have accumulated errors when using fonts
with varying char widths.
2018-12-17 20:56:36 +01:00
Michael Alexsander Silva Dias 04ea79c738 Fix item highlighting in PopupMenu for items with offset 2018-12-15 18:48:10 -02:00
Kanabenki cfb89b672e Prevent FileDialog from stealing focus when setting current file in editor 2018-12-14 22:58:01 +01:00
Guilherme Felipe 64e52f5bdb Fix tree item editable cell not updating when windows was resized 2018-12-14 12:09:47 -02:00
Michael Alexsander Silva Dias c2fe5c0468 Expose ButtonGroup's "get_buttons()" to GDScript 2018-12-14 04:16:23 -02:00
Rémi Verschelde 01fa0673a4
Merge pull request #22870 from semtri/godot-issue-7620
Fix richtextlabel meta links shouldn't open when swiping to scroll
2018-12-13 21:16:13 +01:00
Rémi Verschelde 2f31d31c23
Revert "Use more subtle indentation guides in the script editor" 2018-12-13 19:57:34 +01:00
merumelu 61ceb59f1d ColorPicker fixes
- Fix regression from #22402 which made presets invisible ingame
with `tools=yes` builds.
- Don't emit `color_changed` signal when deleting a preset
as no color change happens.
2018-12-12 22:30:49 +01:00
Rémi Verschelde 13d037b200
Merge pull request #21471 from RodZill4/issue_11893
Fixed issue #11893 (SpinBox capturing mouse)
2018-12-11 18:16:29 +01:00
Rémi Verschelde 4c41e29c8e
Merge pull request #23923 from bruvzg/ime_gdscript
Changes IME to make it possible to use it from gdscript/gdnative
2018-12-11 18:00:48 +01:00
Rodolphe Suescun 0838eca063 Fixed issue #11893 (SpinBox Capturing mouse)
To prevent the SpinBox from capturing mouse, added a "drag.allowed"
variable that is set to true only when clicking inside the control.
Entering the control with the left mouse button pressed will not
trigger drag anymore.

Also modified the value update code when dragging so it does not
modify the base_val.
2018-12-10 19:33:04 +01:00
Rémi Verschelde bf59b73250
Merge pull request #20609 from YeldhamDev/menu_hover_explicit
Make opening menus with the same parent on mouse focus explicit
2018-12-09 23:15:33 +01:00
Rémi Verschelde 3a312dbd32
Merge pull request #20725 from Calinou/textedit-subtle-indent-guides
Use more subtle indentation guides in the script editor
2018-12-09 23:10:32 +01:00
Rémi Verschelde 41d1dba35f
Merge pull request #22431 from DualMatrix/pivot
Fixed pivot tool not setting position of Controls correctly
2018-12-07 23:18:27 +01:00
Rémi Verschelde d303a7e6d7
Merge pull request #22680 from lupoDharkael/color-picker-presets
ColorPicker: extend access to presets from gds
2018-12-07 22:39:12 +01:00
Michael Alexsander Silva Dias 3ae5eec366 Add tooltips to GraphEdit node 2018-12-04 15:00:27 -02:00
Rémi Verschelde e6b0327c2c
Merge pull request #24112 from allkhor/rich_label_update_cache
RichTextLabel: update the cache when the scroll hide.
2018-12-03 17:32:04 +01:00
Rémi Verschelde f86013082e
Merge pull request #24106 from groud/fix_split_container
Fixes collapsed SplitContainers
2018-12-02 21:19:44 +01:00
allkhor c80b9e9173 RichTextLabel: update the cache when the scroll hide. 2018-12-02 05:06:38 +06:00
groud 136847e5c3 Fixes collapsed SplitContainers 2018-12-01 17:31:37 +01:00
allkhor 7831cd76ab TextEdit: added redo option to the context menu 2018-11-29 23:21:43 +06:00
Rémi Verschelde 05755618c5
Merge pull request #23993 from Kanabenki/autocomplete-ignore-case
Add suggestions ignoring case at the end of the code autocomplete
2018-11-28 13:26:28 +01:00
allkhor a04ba76d89 Ceil tabs font size 2018-11-27 00:30:12 +06:00
Kanabenki 99ffd748f1 Add suggestions ignoring case at the end of the code autocomplete 2018-11-26 16:36:46 +01:00
Rémi Verschelde 73551a1edc
Merge pull request #23964 from allkhor/text_edit_clear_selection
TextEdit: remove selection when clear happens.
2018-11-26 11:00:54 +01:00
allkhor 594e0261f3 TextEdit: remove selection when clear happens. 2018-11-25 23:24:49 +06:00
Paulb23 9e57c359b7 Fix scroll bar lock when smooth scroll enabled, issue 23314 2018-11-24 14:03:54 +00:00
allkhor 970dc91cb7 RichTextLabel: clear the scroll offset. 2018-11-23 23:54:49 +06:00
bruvzg 4554c682e6
Changes IME input to use notification instead of callback, exposes IME methods to gdscript/gdnative. 2018-11-23 14:07:48 +02:00