ClientSim icon indicating copy to clipboard operation
ClientSim copied to clipboard

[1.1.3] Viewing ClientSim Settings Window adds wordwrap to the Editor Label Gui Style

Open CyanLaser opened this issue 3 years ago • 0 comments
trafficstars

Viewing the ClientSim settings window will change the Editor Gui style for all labels to make them word wrap. Once changed, it will not change back. This change persists even after assembly reload.

One example of a label that gets affected by this is the "static" text. It is now overflowing and wrapping when it shouldn't. image

The exact issue can be found in ClientSimSettingsWindow.cs line 100 https://github.com/vrchat-community/ClientSim/blob/546c6a0a64e468745aa6bce51b1fca15ad5d4b69/Packages/com.vrchat.ClientSim/Editor/Windows/ClientSimSettingsWindow.cs#L100-L101

Please create a new gui style from the old one to prevent editing unity styles.

_multilineLabel = new GUIStyle(EditorStyles.label); 

CyanLaser avatar May 18 '22 02:05 CyanLaser