mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Revert "Add a nodejs testing function for apply_layout"
This reverts commit beb5d63d1b
.
Oops, the more modern style *is* to use send_mouse_click.
This commit is contained in:
parent
beb5d63d1b
commit
794d3ec6ec
4 changed files with 2 additions and 36 deletions
|
@ -26,16 +26,6 @@ function load_native_lib() {
|
|||
*/
|
||||
let native = !process.env.SIXTYFPS_NODE_NATIVE_LIB ? require('../native/index.node') : load_native_lib();
|
||||
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
interface Rect {
|
||||
x: number,
|
||||
y: number,
|
||||
width: number,
|
||||
height: number
|
||||
}
|
||||
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
|
@ -65,10 +55,6 @@ class Component {
|
|||
send_keyboard_string_sequence(s: String) {
|
||||
this.comp.send_keyboard_string_sequence(s)
|
||||
}
|
||||
|
||||
apply_layout(rect: Rect) {
|
||||
this.comp.apply_layout(rect)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue