Trigger haptic feedback when a long-press gesture fires a right-click
(context menu) in the Android editor. Uses Android's native
`HapticFeedbackConstants.LONG_PRESS` on the render view surface.
An editor setting `interface/touchscreen/haptic_on_long_press` is added
under the existing touchscreen section to allow users to disable this
behavior. The setting defaults to enabled on native touchscreen devices.
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.
Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
Save group collapsed state during editing session
Save collapsed groups in Animation resource so they persist across sessions
Update editor/animation/animation_track_editor.h
Remove data duplication and unnecessary method
Prevent error about negative-sized Rect2
Move animation group folding to editor cfg files
Clean up length of some lines of code
Keep fold state of groups when renamed
Update scene/resources/animation.h
Make fold_area_rect calculation more accurate
Improve animation includes
Store animation fold state in scene folding file
Fix animation fold saving for independent resource animations
Apply suggestions from code review
Update scene/resources/animation.h
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
Add monospace font styling to more items in signal workflow
Use monospace font in method and property selection dialogs
Use monospaced font in Animation editor
Add editor setting
Additional fixes and things
Add documentation to editor setting
# Conflicts:
# editor/inspector/property_selector.cpp
Update doc/classes/EditorSettings.xml
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
- Removes `native_menu.h` dependency from `display_server.h`.
It's now forward-declared in all DisplayServer implementations and should
be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
having to include them explicitly in half the scene and editor codebase...
which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.