Initial layer view color mode -> legend. CURA-3321

This commit is contained in:
Jack Ha 2017-03-02 16:55:54 +01:00
parent bdd07bd160
commit e89b1afa2c
2 changed files with 2 additions and 2 deletions

2
plugins/LayerView/LayerView.qml Normal file → Executable file
View file

@ -40,7 +40,7 @@ Item
property bool show_helpers: UM.Preferences.getValue("layerview/show_helpers")
property bool show_skin: UM.Preferences.getValue("layerview/show_skin")
property bool show_infill: UM.Preferences.getValue("layerview/show_infill")
property bool show_legend: false
property bool show_legend: UM.LayerView.compatibilityMode || UM.Preferences.getValue("layerview/layer_view_type") == 1
property bool only_show_top_layers: UM.Preferences.getValue("view/only_show_top_layers")
property int top_layer_count: UM.Preferences.getValue("view/only_show_top_layers")

2
resources/themes/cura/theme.json Normal file → Executable file
View file

@ -294,7 +294,7 @@
"slider_layerview_background": [4.0, 0.0],
"slider_layerview_margin": [3.0, 1.0],
"layerview_menu_size": [16.5, 17.0],
"layerview_menu_size": [16.5, 21.0],
"layerview_legend_size": [1.0, 1.0],
"layerview_row": [11.0, 1.5],
"layerview_row_spacing": [0.0, 0.5],