Skip to content

CTB doesn't block mousewheel in flight or certain click actions #27

Description

@JonnyOThan

When working on CTB support for TUFX, I realized that the mousewheel would still zoom the camera in certain scenes (but not the vab) and I could still click on certain things behind the window (e.g. vessel icons in the spacecenter view).

I managed to fix these by creating an invisible UGUI window that follows the TUFX window. I'm not sure exactly how, but it might be interesting to integrate those fixes to CTB itself.

relevant code is here:
KSPModStewards/TUFX@898ffc8

I think you'd probably have to maintain the gameobjects internall to CTB according to their window IDs? Not really sure.

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