Skip to content

Box Selection when Window is moved while over Editor #211

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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