mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-02-14 06:05:16 +01:00
win imes
This commit is contained in:
parent
352c88af5d
commit
ff32d508f4
3 changed files with 9 additions and 0 deletions
Binary file not shown.
|
@ -1,6 +1,7 @@
|
|||
/// @description
|
||||
var ev_id = async_load[? "id"];
|
||||
var ev_type = async_load[? "event_type"];
|
||||
print(ev_type)
|
||||
|
||||
switch(ev_type) {
|
||||
|
||||
|
@ -28,4 +29,9 @@ switch(ev_type) {
|
|||
case "file_drag_leave" :
|
||||
FILE_IS_DROPPING = false;
|
||||
break;
|
||||
|
||||
case "virtual keyboard status":
|
||||
print(async_load[? "screen_height"]);
|
||||
print(async_load[? "keyboard_status"]);
|
||||
break;
|
||||
}
|
|
@ -140,6 +140,7 @@ function textBox(_input, _onModify) : textInput(_input, _onModify) constructor {
|
|||
static setAutoupdate = function() { auto_update = true; return self; }
|
||||
|
||||
static activate = function(_def_str = _current_text) {
|
||||
|
||||
WIDGET_CURRENT = self;
|
||||
WIDGET_CURRENT_SCROLL = parent;
|
||||
parentFocus();
|
||||
|
@ -846,6 +847,8 @@ function textBox(_input, _onModify) : textInput(_input, _onModify) constructor {
|
|||
} else {
|
||||
|
||||
if(hover && hoverRect) {
|
||||
print("Hover|");
|
||||
|
||||
hovering = true;
|
||||
if(hide < 3) draw_sprite_stretched_ext(THEME.textbox, 1, _x, _y, _w, _h, boxColor, 0.5 + (0.5 * interactable));
|
||||
|
||||
|
|
Loading…
Reference in a new issue