mirror of
https://github.com/overte-org/overte.git
synced 2025-04-10 17:22:25 +02:00
User Preference: Entity List Default Radius
Add a new User Preference for the Default value of the Entity List Radius. This is available in the Edit menu. If changed, this value will be used as default Radius for the next time the script will be loaded.
This commit is contained in:
parent
38e15b6208
commit
428db065b5
1 changed files with 6 additions and 2 deletions
|
@ -1679,7 +1679,11 @@ function loaded() {
|
|||
} else {
|
||||
document.getElementById("hmdmultiselect").style.display = "none";
|
||||
}
|
||||
} else if (data.type === "loadedColumnsSetup") {
|
||||
} else if (data.type === "loadedConfigSetting") {
|
||||
if (typeof(data.defaultRadius) === "number") {
|
||||
elFilterRadius.value = data.defaultRadius;
|
||||
onRadiusChange();
|
||||
}
|
||||
if (data.columnsData !== "NO_DATA" && typeof(data.columnsData) === "object") {
|
||||
var isValid = true;
|
||||
var originalColumnIDs = [];
|
||||
|
@ -1731,7 +1735,7 @@ function loaded() {
|
|||
|
||||
window.addEventListener("resize", updateColumnWidths);
|
||||
|
||||
EventBridge.emitWebEvent(JSON.stringify({ type: 'loadColumnsConfigSetting' }));
|
||||
EventBridge.emitWebEvent(JSON.stringify({ type: 'loadConfigSetting' }));
|
||||
});
|
||||
|
||||
augmentSpinButtons();
|
||||
|
|
Loading…
Reference in a new issue