Skip to content

Fix #1346: EmbeddedPaneWindow.isFocused returns actual focus state#1481

Open
et842 wants to merge 1 commit into
AlmasB:devfrom
et842:fix/1346-embedded-pane-isfocused
Open

Fix #1346: EmbeddedPaneWindow.isFocused returns actual focus state#1481
et842 wants to merge 1 commit into
AlmasB:devfrom
et842:fix/1346-embedded-pane-isfocused

Conversation

@et842

@et842 et842 commented May 20, 2026

Copy link
Copy Markdown

Closes #1346.
isFocused now reads the actual focused state of the host window
I changed
" override val isFocused: Boolean
get() = true"

to
" override val isFocused: Boolean
get() = fxglPane.scene?.window?.isFocused ?: false"

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.

Provide implementation of EmbeddedPaneWindow::isFocused

1 participant