Skip to content

Box Selection when Window is moved while over Editor #211

@kfields

Description

@kfields

In the function MouseInCanvas:

const bool is_window_hovered_or_focused = ImGui::IsWindowHovered() || ImGui::IsWindowFocused();

Needs to be changed to:

const bool is_window_hovered_or_focused = ImGui::IsWindowHovered();

The reason is because if the editor window is focused it will still perform the selection even if another window is in front of it while dragging the other window's title bar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions