Add cloud server option to preferences

This commit is contained in:
Lubos Lenco
2021-04-14 12:44:00 +02:00
parent 95aca1906b
commit a8673d9c85
+3
View File
@@ -284,6 +284,9 @@ class BoxPreferences {
Config.raw.layer_res = layerResHandle.position;
}
var serverHandle = Id.handle({text: Config.raw.server});
Config.raw.server = ui.textInput(serverHandle, tr("Cloud Server"));
var materialLiveHandle = Id.handle({selected: Config.raw.material_live});
Config.raw.material_live = ui.check(materialLiveHandle, tr("Live Material Preview"));
if (ui.isHovered) ui.tooltip(tr("Instantly update material preview on node change"));