Age | Commit message (Collapse) | Author |
|
Fix `RichTextLabel` column size growing beyond its calculated `max_width`
|
|
Add tint property to TextureProgress
|
|
Improve popup menus usability
|
|
It seems that popups were intended to "grab" the mouse click that triggered them, but their intent was being lost. This commit does the necessary changes to let it happen and updates items that were trying to get advantage of it, because the semantics of `Control::grab_click_focus()` have changed a bit. Namely, it must be called **before** showing the modal.
This allows to popup a menu and activate an item in it in a single click-point-release cycle, instead of having to click once to open the menu and once more to pick an item.
This ability is extended even to context menus activated with the RMB (or any other mouse button, for that matter). The editor benefits from this in the context menu of the tree dock, which has been patched to opt-in for this feature.
This improves UX a bit by saving unnecessary clicks.
From now on, `PopupMenu` always grabs the click and also invalidates the first button release unless the mouse has moved (that's what `set_invalidate_click_until_motion()` was doing and now it's removed), so there is no longer the need of doing both things at every point a pop-up menu is shown.
|
|
Abstracted the syntax highlighter from text edit.
|
|
Improve side impulse calculation
|
|
Added signal to VideoPlayer to notify when the video finished playing
|
|
fixes #17325.
The bone pose transform was created by setting the rotation and
**then** scaling the transform. This leads to object "deformation"
that's not intended.
|
|
Mesh: fix crash when creating mesh outline from QuadMesh
|
|
|
|
|
|
|
|
Since create_outline can only make outline for PRIMITIVE_TRIANGLES,
when QuadMesh (which is PRIMITIVE_TRIANGLE_FAN) is used to create
outline, will leave `arrays` empty, and crash when it is being indexed
for "indices" subarray.
This PR shows error when there's only one surface and it is not
TRIANGLES. Also prevent the crash if it has more than one surface
and none of them are TRIANGLES (and any other cases that could leave
`arrays` empty) by checking the size of `arrays` == 8 before indexing
it, since the method seems to expect `arrays` to be of that size.
|
|
|
|
|
|
When `RichTextLabel` calculated the actual width of columns, it let
them grow to sizes greater than its calculated `max_width`. Now this
PR ensures no columns grows beyond `max_width`, and the excess width
is distributed among the columns which can still grow.
It should fix #17731.
|
|
Fix switching WindowDialog types leaves garbage buttons
|
|
Warn about WorldEnvironment being ignored
|
|
a way to ensure that camera is disabled
|
|
Fix bad rendering of BBCode tables in `RichTextLabel`
|
|
|
|
Font update after resize relies on the viewport size which was updated
after the font was already refreshed, which resulted in artifacts when
it was rendered into the actual/new viewport size.
Fixes #15173.
|
|
Fixes wrong calculation of gridcontainer's children size
|
|
|
|
Text overflowed canvas as tables didn't calculate correctly the width
of their columns. They used the whole table width available for each
column. Also, the `cell` parameter was wrongly parsed if used with its
optional argument (expand ratio).
This PR fixs the parsing of `cell` parameter (i.e. `cell=e`) and the
distribution of the full table width between columns, but it overrides
automatically the `expand` flag if the column is smaller than it could
be, to allow a better UX out-of-the-box. It keeps the `expand_ratio`
flag to let the user customize how every column grows in relation to
the rest.
Partially fix #6289.
|
|
|
|
GUI elements ui_action usage, improvements
|
|
|
|
InterpolatedCamera: use internal_process
|
|
|
|
Fix gesture events being blocked
|
|
Fix "ui_accept" action not calling _pressed() function in GDScript Button
|
|
expose Itemlist.move_item and optimize functionality
|
|
|
|
|
|
TileMap: add fix_invalid_tiles
|
|
Add an hinting mode setting to DynamicFonts
|
|
Fix line thickness for CollisionPolygon2D.
|
|
Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
|
|
Auto completion edge jump
|
|
AnimationPlayer: fix scrubbing after play backwards
|
|
Better tab support for color picker
|
|
Implement line clipping for `TextureProgress` to avoid bad rendering
|
|
Fixes infinite loop in GridContainer
|
|
Fix infinite loop in GridContainer layout
|
|
Update TileMap when its TileSet changes
|
|
|
|
Make TileMap monitor its TileSet for changes and emit a signal when the TileSet changes. This makes the editor update and show the updated version of the TileSet.
|
|
|
|
imprecise UV mapping
Original code used a quick aproximation for simulating the
correspondent texel in the `TextureProgress` texture as radial
progress indicator. This lead to visualization errors. Changed it for
a Liang-Barsky line clipping algorithm stripped to its minimum for
this specific use case.
Fix #17364.
|