Skip to content

Commit 5087b5a

Browse files
committed
fixed invisible properties in some editor tools.
1 parent 7d4916c commit 5087b5a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/com/ss/editor/ui/component/editor/impl/scene/SceneFileEditor.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ public class SceneFileEditor extends
5757
AbstractSceneFileEditor<SceneFileEditor, SceneNode, SceneEditorAppState, SceneFileEditorState> implements
5858
SceneChangeConsumer {
5959

60-
private static final int LAYERS_TOOL = 2;
61-
private static final int APP_STATES_TOOL = 3;
62-
private static final int FILTERS_TOOL = 4;
60+
private static final int LAYERS_TOOL = 3;
61+
private static final int APP_STATES_TOOL = 4;
62+
private static final int FILTERS_TOOL = 5;
6363

6464
@NotNull
6565
public static final EditorDescription DESCRIPTION = new EditorDescription();
@@ -293,7 +293,7 @@ protected void createContent(@NotNull final StackPane root) {
293293

294294
layerNodeTree = new LayerNodeTree(this::selectNodeFromLayersTree, this);
295295
propertyEditorLayersContainer = new VBox();
296-
296+
297297
final SplitPane appStateSplitContainer = new SplitPane(appStateList, propertyEditorAppStateContainer);
298298
appStateSplitContainer.setId(CSSIds.FILE_EDITOR_TOOL_SPLIT_PANE);
299299
appStateSplitContainer.prefHeightProperty().bind(root.heightProperty());
@@ -324,7 +324,7 @@ protected void processChangeTool(@Nullable final Number oldValue, @NotNull final
324324
super.processChangeTool(oldValue, newValue);
325325

326326
final int newIndex = newValue.intValue();
327-
if (newIndex < 1) return;
327+
if (newIndex < 2) return;
328328

329329
final ModelPropertyEditor modelPropertyEditor = getModelPropertyEditor();
330330
final VBox appStateContainer = getPropertyEditorAppStateContainer();

0 commit comments

Comments
 (0)