mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-01-12 07:16:49 +01:00
empty pref
This commit is contained in:
parent
202eae7175
commit
458c7f3ae8
2 changed files with 6 additions and 2 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -14,4 +14,6 @@ shaders/__BBMOD*
|
||||||
|
|
||||||
sprites/BBMOD*
|
sprites/BBMOD*
|
||||||
|
|
||||||
*.DS_Store
|
*.DS_Store
|
||||||
|
fonts/_f_sdf/_f_sdf.yy
|
||||||
|
fonts/_f_sdf_medium/_f_sdf_medium.yy
|
|
@ -184,7 +184,9 @@
|
||||||
var path = DIRECTORY + "keys.json";
|
var path = DIRECTORY + "keys.json";
|
||||||
if(!file_exists(path)) return;
|
if(!file_exists(path)) return;
|
||||||
|
|
||||||
var map = json_load_struct(path);
|
var map = json_load_struct(path);
|
||||||
|
if(array_empty(variable_struct_get_names(map))) return;
|
||||||
|
|
||||||
HOTKEYS_DATA = {};
|
HOTKEYS_DATA = {};
|
||||||
|
|
||||||
for(var i = 0; i < array_length(map.key); i++) {
|
for(var i = 0; i < array_length(map.key); i++) {
|
||||||
|
|
Loading…
Reference in a new issue