mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-13 04:20:05 +02:00
feat: set view mode when constrains set via props
This commit is contained in:
@@ -7825,10 +7825,6 @@ class App extends React.Component<AppProps, AppState> {
|
||||
cursorButton !== "down" &&
|
||||
currentZoom.value === prevState.zoom.value
|
||||
) {
|
||||
this.setState({
|
||||
scrollConstraints: { ...scrollConstraints, isAnimating: true },
|
||||
});
|
||||
|
||||
easeToValuesRAF({
|
||||
fromValues: { scrollX, scrollY },
|
||||
toValues: {
|
||||
|
Reference in New Issue
Block a user