We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b47013d commit 804a852Copy full SHA for 804a852
src/main/java/com/ss/editor/util/GLSLType.java
@@ -46,7 +46,7 @@ public enum GLSLType {
46
static {
47
for (final GLSLType glslType : VALUES) {
48
RAW_TYPE_TO_ENUM.put(glslType.getRawType(), glslType);
49
- UI_NAME_TO_ENUM.put(glslType.getUiName(), glslType);
+ UI_NAME_TO_ENUM.put(glslType.getUIName(), glslType);
50
}
51
52
@@ -105,7 +105,12 @@ public enum GLSLType {
105
* @return the name for UI.
106
*/
107
@FromAnyThread
108
- public @NotNull String getUiName() {
+ public @NotNull String getUIName() {
109
return uiName;
110
111
+
112
+ @Override
113
+ public String toString() {
114
+ return getUIName();
115
+ }
116
0 commit comments