taniwha / Kerbal-Konstructs

KSP Mod: Kerbal Konstrucs
https://forum.kerbalspaceprogram.com/index.php?/topic/151818-145-131-122-kerbal-konstructs-1452-12082018/&
0 stars 0 forks source link

Block Cntrl-K from opening editing/building mode in Space Center scene #5

Open StoneBlue opened 4 years ago

StoneBlue commented 4 years ago

As title says... only enble editing/building in Flight scene only

GER-Space commented 4 years ago

you should remove that testing code here:

https://github.com/taniwha/Kerbal-Konstructs/blob/master/src/KerbalKonstructs.cs#L789-L792 This triggeres some work I started on a new UI-away from the old OnGUI System. The GUI Stuff really exhausted me, because I'm definitely not good at this. Throw it away if you like.

and: this should prevent ctrl+k from working anywhere except the flight scene.

https://github.com/taniwha/Kerbal-Konstructs/blob/master/src/KerbalKonstructs.cs#L795-L802