mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-22 08:29:19 +01:00
Fix edits not applying changes.
This commit is contained in:
parent
62eb032765
commit
5c8471fe3f
1 changed files with 2 additions and 2 deletions
|
|
@ -221,7 +221,7 @@ public partial class ModEditWindow
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return disabled && ret;
|
return !disabled && ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -233,7 +233,7 @@ public partial class ModEditWindow
|
||||||
ImGui.NewLine();
|
ImGui.NewLine();
|
||||||
ret |= DrawMaterialColorSetChange( file, disabled );
|
ret |= DrawMaterialColorSetChange( file, disabled );
|
||||||
|
|
||||||
return disabled && ret;
|
return !disabled && ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static bool DrawMaterialTextureChange( MtrlFile file, bool disabled )
|
private static bool DrawMaterialTextureChange( MtrlFile file, bool disabled )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue