Age | Commit message (Collapse) | Author |
|
|
|
|
|
winterpixelgames/button-pressed-during-button-up-signal
Emit button_up signal after setting pressed to false.
|
|
Dont Change Hovering during Control Focus Events
|
|
|
|
|
|
|
|
events. This is incorrect and not fully implemented, and results in inconsistency in the UI and in the hovering variable.
|
|
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap.
-For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed()
-Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
|
|
|
|
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
|
|
I didn't expose this as a property or add documentation in the original PR #42109.
|
|
unhandled_key_input changed to unhandled_button_input. Controls can set a 'shortcut_context' which they can then use to determine if their shortcuts should be triggered or not, based on if the viewport's focused GUI control is a child of their 'shortcut context'.
|
|
|
|
|
|
Fixes #41529.
|
|
Tooltip flickering and targeting fixes.
|
|
|
|
See https://github.com/godotengine/godot/issues/16863#issuecomment-685236980.
|
|
|
|
|
|
Using clang-tidy's `readability-braces-around-statements`.
https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
|
|
Which means that reduz' beloved style which we all became used to
will now be changed automatically to remove the first empty line.
This makes us lean closer to 1TBS (the one true brace style) instead
of hybridating it with some Allman-inspired spacing.
There's still the case of braces around single-statement blocks that
needs to be addressed (but clang-format can't help with that, but
clang-tidy may if we agree about it).
Part of #33027.
|
|
|
|
|
|
Still a lot of work to do.
|
|
Action Mode
This should fix #34935
|
|
|
|
Happy new year to the wonderful Godot community!
We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.
Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
|
|
|
|
|
|
When buttons are not in Toggle Mode, shortcuts used to only trigger the
`pressed` signal, without calling the `_pressed` virtual method,
contrarily to what happens when you click the button.
For Toggle Mode buttons, it did call the `_toggled` virtual method
together with emitting the `toggled` signal *twice*.
This commit harmonizes it all and makes shortcuts behave the same as
mouse clicks or `ui_accept`, for both toggle and non-toggle modes.
Fixes #29604.
|
|
Fix #29258
|
|
also _toggled() function and "toggled" signal called when unpressed by ButtonGroup
|
|
Add option to keep button pressed when moving cursor outside while pressing
|
|
Reset button state on exit tree
|
|
|
|
Steps to reproduce a bug:
1) Hold / hover the button
2) Remove it (or parent node) from the tree
3) When we return the button back to the tree, it's pressed / hover
|
|
while pressed
|
|
|
|
Happy new year to the wonderful Godot community!
|
|
|
|
This flag disables the input related information in the tooltip.
It is exposed as a member variable in gdscript.
|
|
-Removed one and zero hints for properties, replaced by default value
|
|
Some of this code has been re-organized.
f
|
|
Discard button pressing flags on disable
|
|
Added hover_pressed style to CheckBox and CheckButton.
If no style is defined for this property it will default to the pressed property.
|
|
Is it a bug?
1) Click the button and hold
2) Disable it (for example I bind this action on keyboard)
3) Release the mouse and move it outside the button
4) Enable the button
5) It's still pressed, but shouldn't
|
|
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
|
|
|