We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ec0c85 commit 445c7b8Copy full SHA for 445c7b8
1 file changed
examples/06_vtk/03_MultiViews/app.py
@@ -91,7 +91,10 @@ def update_cone(resolution=DEFAULT_RESOLUTION, **kwargs):
91
92
93
def update_reset_resolution():
94
- state.resolution = DEFAULT_RESOLUTION
+ with state:
95
+ state.resolution = DEFAULT_RESOLUTION
96
+
97
+ ctrl.update_views()
98
99
100
# -----------------------------------------------------------------------------
@@ -112,6 +115,7 @@ def update_reset_resolution():
112
115
hide_details=True,
113
116
dense=True,
114
117
style="max-width: 300px",
118
+ end=ctrl.update_views,
119
)
120
vuetify.VDivider(vertical=True, classes="mx-2")
121
with vuetify.VBtn(icon=True, click=update_reset_resolution):
0 commit comments