mirror of https://github.com/wayvr-org/wayvr.git
use correct key_dimensions
This commit is contained in:
parent
9382af67e2
commit
5cf1a0c34c
|
|
@ -208,7 +208,7 @@ impl SwipeTypingManager {
|
|||
};
|
||||
let key_dimensions = Vec2 {
|
||||
x: QwertyKeyboardGrid::get_key_width() as f32,
|
||||
y: QwertyKeyboardGrid::get_key_width() as f32,
|
||||
y: QwertyKeyboardGrid::get_key_height() as f32,
|
||||
};
|
||||
|
||||
let point = within_key_pos_from_center * key_dimensions + key_pos;
|
||||
|
|
|
|||
Loading…
Reference in New Issue