Bug when maximizing Canvas with hotkey

Forums General Discussion Bug when maximizing Canvas with hotkey

This topic contains 3 replies, has 2 voices, and was last updated by  Gavalakis 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1884

    dave
    Participant

    Hello.
    Wanted to say that the shortcut SHIFT + SPACE , which toggles the maximizing of any unity-window, does not work with nodecanvas. It allows to maximize, but the when returning to normal ( after executing the shortcut again ), the graph-window stops working, must be closed and opened again from the menu.
    I guess this should not behave like that.
    Maximizing is s quite handy feature for quickly enlargening workspace. Especially when one has to work with only 1 screen.

    Greetings, David

    #1891

    Gavalakis
    Keymaster

    Hello again Dave,

    This has already been hotfixed. It is actually an easy change. Please open up GraphEditor.cs and add these lines of code on the top of the “targetOwner” property.

    
    		private static GraphOwner targetOwner{
    			get
    			{
    				if (current == null){ //this fix the maximize/minimize window
    					current = OpenWindow();
    				}
    				///Rest of code bellow
    

    Let me know if that indeed works for you.
    Thank you!

    #1898

    dave
    Participant

    Works like a charm now. Thank you very much Gavalakis. 🙂

    #1907

    Gavalakis
    Keymaster

    You are very welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.