Skip to content

Editor: Support floating bottom dock and improve frame spinbox stepping#202

Merged
Naruto merged 1 commit into
developfrom
feature/floating-dock-support
Jun 23, 2026
Merged

Editor: Support floating bottom dock and improve frame spinbox stepping#202
Naruto merged 1 commit into
developfrom
feature/floating-dock-support

Conversation

@Naruto

@Naruto Naruto commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Description

  • Added support for floating bottom docks (Make Floating) in Godot 4.3+:
    • Previously, calling playback_panel_button->hide() forced the floating dock to close. This has been resolved by keeping the tab button visible, allowing the floating window to remain active while clearing the selected player context instead.
    • Since Godot 4.3's add_control_to_bottom_panel disables floating by default for backwards compatibility, the available_layouts property of the parent dock is now explicitly set to 6 (Horizontal | Floating).
  • Improved UX for the current frame SpinBox in the playback panel:
    • Maintains the precision required for smooth playback updates (step = 0.01), but introduces a custom stepping of 1.0 when users click the up/down arrow buttons.
    • This utilizes Godot 4.3+'s new custom_arrow_step property safely via set() to maintain compatibility with older Godot 4.x GDExtension headers.

@Naruto Naruto merged commit be7af1e into develop Jun 23, 2026
0 of 2 checks passed
@Naruto Naruto deleted the feature/floating-dock-support branch June 23, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant