This commit is contained in:
Simon Gardling
2022-04-23 15:58:40 -04:00
parent 3db239a582
commit 3f323e72a1
5 changed files with 18 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
use crate::consts::IS_MOBILE;
use crate::consts::is_mobile;
use crate::function_entry::{FunctionEntry, DEFAULT_FUNCTION_ENTRY};
use crate::widgets::{move_cursor_to_end, widgets_ontop, Movement};
use egui::{Button, Key, Modifiers};
@@ -76,7 +76,7 @@ impl Manager {
function.autocomplete.update_string(&new_string);
if !function.autocomplete.hint.is_none() {
if !IS_MOBILE && !function.autocomplete.hint.is_single() {
if !is_mobile() && !function.autocomplete.hint.is_single() {
if ui.input().key_pressed(Key::ArrowDown) {
movement = Movement::Down;
} else if ui.input().key_pressed(Key::ArrowUp) {