mirror of
https://github.com/viliusle/miniPaint.git
synced 2026-02-06 13:26:46 +00:00
fixed few effects bugs
This commit is contained in:
parent
f2cf1b6737
commit
ae39fd5f0b
@ -130,7 +130,10 @@ class Effects_browser_class extends Base_tools_class {
|
||||
|
||||
get_function_from_path(path){
|
||||
var parts = path.split("/");
|
||||
return parts[parts.length - 1];
|
||||
var result = parts[parts.length - 1];
|
||||
result = result.replace(/-/, '_');
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import app from '../../../app.js';
|
||||
import config from '../../../config.js';
|
||||
import Dialog_class from '../../../libs/popup.js';
|
||||
import Base_layers_class from '../../../core/base-layers.js';
|
||||
import alertify from 'alertifyjs/build/alertify.min.js';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user