public updateHoverAt(x as Int, y as Int) as Boolean:
Updates the hovered pane button from window-client coordinates.
Native backends can hit-test the parent DockWorkspace instead of the bar itself when a pane is expanded. DockWorkspace therefore routes mouse movement here so hover rendering remains deterministic for every dock icon.
| Parameter | Description |
|---|---|
x | Window-client x coordinate. |
y | Window-client y coordinate. |
True when the pointer is over a pane button.
if bar.updateHoverAt(mouseX, mouseY):
print("dock button hovered")