mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-13 20:39:54 +02:00
Make toast permanent for browser zoom
This commit is contained in:
@@ -553,6 +553,12 @@ class App extends React.Component<AppProps, AppState> {
|
||||
<Toast
|
||||
message={this.state.toastMessage}
|
||||
clearToast={this.clearToast}
|
||||
duration={
|
||||
this.state.toastMessage === t("alerts.browserZoom")
|
||||
? Infinity
|
||||
: undefined
|
||||
}
|
||||
closable={this.state.toastMessage === t("alerts.browserZoom")}
|
||||
/>
|
||||
)}
|
||||
<main>{this.renderCanvas()}</main>
|
||||
|
Reference in New Issue
Block a user