mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Make toast permanent for browser zoom
This commit is contained in:
parent
b07bdaa46a
commit
7ac79b7799
1 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue