Proposed Feature: Autofocus

NodeCanvas Forums General Discussion Proposed Feature: Autofocus

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12768
    joshcamas
    Participant

    One annoyance I’ve had when using this tool was whenever I selected an object with a Owner component, it would automatically switch to the Canvas window. Lock helped, but I liked how on selection of object it would select it in the window.

    Here’s what I did to OpenWindow:

    I added a pref “enableSelectionFocus”, as well as a button right next to the Lock button that would flip this.

    What this does is disable focus on the window (It does this by running OpenWindow differently, sadly the way you do it now doesn’t have the ability to disable focus) if enableSelectionFocus is false.

    It makes my life a lot easier, and by default it is the same as usual. Why not??

    NOTE: This is not perfect, when it creates the window if enableSelectionFocus is false, it will not have the icon. Other than that, it works fine 🙂

    Tl;dr: Added a feature to disable editor window focus on object selection, but still select that object in canvas.

    http://ardenfall.com

    #12795
    Gavalakis
    Keymaster

    Hello,

    Apparently I missed this post as well on top of your other one 🙂
    Thank you for your suggestion. I completely understand what you mean and I agree.
    I’ve just properly fixed the problem you are pointing here for the next version!

    Thank you!

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.