mirror of
https://github.com/ducbao414/win32.run.git
synced 2025-12-16 09:12:48 +09:00
improve resizing in Window with iframe
This commit is contained in:
@@ -166,10 +166,20 @@
|
|||||||
classes: {
|
classes: {
|
||||||
"ui-resizable-se": "ui-icon ui-icon-gripsmall-diagonal-se opacity-0"
|
"ui-resizable-se": "ui-icon ui-icon-gripsmall-diagonal-se opacity-0"
|
||||||
},
|
},
|
||||||
|
start: () => {
|
||||||
|
let iframe = node_ref.querySelector('iframe');
|
||||||
|
if(iframe){
|
||||||
|
iframe.style.pointerEvents = 'none';
|
||||||
|
}
|
||||||
|
},
|
||||||
stop: async () => {
|
stop: async () => {
|
||||||
if(options.exec_path){
|
if(options.exec_path){
|
||||||
await set(options.exec_path, node_ref.getBoundingClientRect())
|
await set(options.exec_path, node_ref.getBoundingClientRect())
|
||||||
}
|
}
|
||||||
|
let iframe = node_ref.querySelector('iframe');
|
||||||
|
if(iframe){
|
||||||
|
iframe.style.removeProperty('pointer-events');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user