mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 11:56:00 +00:00
SYNC: fixed zoom
This commit is contained in:
committed by
Diflow
parent
a9412b418f
commit
59f763162c
@@ -981,7 +981,7 @@
|
||||
on:dragover={e => e.preventDefault()}
|
||||
on:drop={handleDrop}
|
||||
style={`width:${canvasWidth / zoomKoef}px;height:${canvasHeight / zoomKoef}px;
|
||||
${settings?.customizeStyle && value?.style?.zoomKoef ? `zoom:${value?.style?.zoomKoef};` : ''}
|
||||
${settings?.customizeStyle && value?.style?.zoomKoef ? `transform:scale(${value?.style?.zoomKoef});transform-origin: top left;` : ''}
|
||||
`}
|
||||
on:mousedown={e => {
|
||||
if (e.button == 0 && settings?.canSelectTables) {
|
||||
|
||||
Reference in New Issue
Block a user