diff --git a/scripts/system/create/entityProperties/html/js/entityProperties.js b/scripts/system/create/entityProperties/html/js/entityProperties.js index 7bfc869f04..26eb94e8da 100644 --- a/scripts/system/create/entityProperties/html/js/entityProperties.js +++ b/scripts/system/create/entityProperties/html/js/entityProperties.js @@ -33,7 +33,7 @@ const PROPERTY_SELECTION_VISIBILITY = Object.freeze({ SINGLE_SELECTION: 1, MULTIPLE_SELECTIONS: 2, MULTI_DIFF_SELECTIONS: 4, - ANY_SELECTIONS: 7, /* SINGLE_SELECTION | MULTIPLE_SELECTIONS | MULTI_DIFF_SELECTIONS */ + ANY_SELECTIONS: 7 /* SINGLE_SELECTION | MULTIPLE_SELECTIONS | MULTI_DIFF_SELECTIONS */ }); // Multiple-selection behavior @@ -43,7 +43,7 @@ const PROPERTY_MULTI_DISPLAY_MODE = Object.freeze({ * Comma separated values * Limited for properties with type "string" or "textarea" and readOnly enabled */ - COMMA_SEPARATED_VALUES: 1, + COMMA_SEPARATED_VALUES: 1 }); const GROUPS = [ @@ -915,7 +915,6 @@ const GROUPS = [ { id: "particles_emit", label: "PARTICLES EMIT", - //isMinor: true, properties: [ { label: "Emit Rate", @@ -988,7 +987,6 @@ const GROUPS = [ { id: "particles_size", label: "PARTICLES SIZE", - //isMinor: true, properties: [ { type: "triple", @@ -1032,7 +1030,6 @@ const GROUPS = [ { id: "particles_color", label: "PARTICLES COLOR", - //isMinor: true, properties: [ { type: "triple", @@ -1106,7 +1103,6 @@ const GROUPS = [ { id: "particles_behavior", label: "PARTICLES BEHAVIOR", - //isMinor: true, properties: [ { label: "Emit Acceleration", @@ -1181,7 +1177,6 @@ const GROUPS = [ { id: "particles_constraints", label: "PARTICLES CONSTRAINTS", - //isMinor: true, properties: [ { type: "triple", @@ -1408,7 +1403,6 @@ const GROUPS = [ } ] }, -, { id: "scripts", label: "SCRIPTS", @@ -4008,8 +4002,8 @@ function handleEntitySelectionUpdate(selections, isPropertiesToolUpdate) { function loaded() { openEventBridge(function() { let elPropertiesList = document.getElementById("properties-pages"); - let tabs = ""; - + let elTabs = document.getElementById("tabs"); + GROUPS.forEach(function(group) { let elGroup; @@ -4023,8 +4017,7 @@ function loaded() { elLegend.className = "tab-section-header"; elLegend.appendChild(createElementFromHTML(`