use correct key_dimensions

This commit is contained in:
Diamond White 2026-03-16 02:04:22 +00:00
parent 9382af67e2
commit 5cf1a0c34c
1 changed files with 1 additions and 1 deletions

View File

@ -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;