change editor minScale
This commit is contained in:
parent
f5985df903
commit
da40221ed0
@ -950,7 +950,7 @@ export default function Editor() {
|
|||||||
limitToBounds={false}
|
limitToBounds={false}
|
||||||
doubleClick={{ disabled: true }}
|
doubleClick={{ disabled: true }}
|
||||||
initialScale={minScale}
|
initialScale={minScale}
|
||||||
minScale={minScale}
|
minScale={minScale * 0.6}
|
||||||
onPanning={ref => {
|
onPanning={ref => {
|
||||||
if (!panned) {
|
if (!panned) {
|
||||||
setPanned(true)
|
setPanned(true)
|
||||||
|
Loading…
Reference in New Issue
Block a user