mirror of
https://github.com/ducbao414/win32.run.git
synced 2025-12-15 08:42:49 +09:00
improve resizing in Window with iframe
This commit is contained in:
@@ -166,10 +166,20 @@
|
||||
classes: {
|
||||
"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 () => {
|
||||
if(options.exec_path){
|
||||
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