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:
Simon Hausmann 2021-04-08 16:58:37 +02:00
parent beb5d63d1b
commit 794d3ec6ec
4 changed files with 2 additions and 36 deletions

View file

@ -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)
}
}
/**