Skip to content

Conversation

@Tekisasu-JohnK
Copy link

This adds two settings in Editor > Editor Settings > Interface > Editor (focus_border_on_tabs and focus_border_type). You can now disable focus borders on tabs entirely as well as minimize focus borders and alter their translucency, or turn them off entirely.

Focus border on tabs toggle:

Screen.Recording.2025-12-07.034244.mp4

Changing focus border presentation:

Screen.Recording.2025-12-07.034441.mp4

@Tekisasu-JohnK Tekisasu-JohnK marked this pull request as draft December 7, 2025 09:47
@Tekisasu-JohnK Tekisasu-JohnK force-pushed the Add-options-for-focus-border branch 3 times, most recently from 664cec6 to 2659fc6 Compare December 7, 2025 09:58
@Tekisasu-JohnK Tekisasu-JohnK marked this pull request as ready for review December 7, 2025 10:54
p_config.button_style_focus->set_draw_center(false);
p_config.button_style_focus->set_border_width_all(Math::round(2 * MAX(1, EDSCALE)));
p_config.button_style_focus->set_border_color(p_config.accent_color);
if ((int)EDITOR_GET("interface/editor/focus_border_type") == 0) { // Off

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be cleaner to use a switch or at least only grab EDITOR_GET("interface/editor/focus_border_type") once here.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switched to case syntax and reduced superfluous calls to EDITOR_GET(). Thanks @jss2a98aj

@github-project-automation github-project-automation bot moved this from Backlog to Blocked in Blazium Engine Roadmap Dec 8, 2025
This adds two settings in Editor > Editor Settings > Interface > Editor (focus_border_on_tabs and focus_border_type).  You can now disable focus borders on tabs entirely as well as minimize focus borders and alter their translucency, or turn them off entirely.

update1: Clean up focus_border theming selection using cases per request from @jss2a98aj
@Tekisasu-JohnK Tekisasu-JohnK force-pushed the Add-options-for-focus-border branch from 2659fc6 to b527751 Compare December 9, 2025 06:44
@github-project-automation github-project-automation bot moved this from Blocked to In review in Blazium Engine Roadmap Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants