Skip to content

Commit 716cbb4

Browse files
committed
Invoke zoom changed handler to apply the zoom factor
1 parent ed5b95f commit 716cbb4

File tree

1 file changed

+2
-0
lines changed
  • app/display/runtime/src/main/java/org/csstudio/display/builder/runtime/app

1 file changed

+2
-0
lines changed

app/display/runtime/src/main/java/org/csstudio/display/builder/runtime/app/ZoomAction.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public ZoomAction(final DisplayRuntimeInstance instance)
4949
{
5050
String zoom = String.format("%d %%", default_zoom_factor);
5151
setValue(zoom);
52+
// Invoke zoom changed handler
53+
getOnAction().handle(null);
5254
});
5355
}
5456

0 commit comments

Comments
 (0)