mirror of
https://github.com/viliusle/miniPaint.git
synced 2026-02-06 14:11:50 +00:00
dont allow to save media tool.
This commit is contained in:
parent
31a9210162
commit
837c2f4d6b
@ -58,6 +58,10 @@ class GUI_tools_class {
|
||||
var target_id = "tools_container";
|
||||
var _this = this;
|
||||
var saved_tool = this.Helper.getCookie('active_tool');
|
||||
if(saved_tool == 'media') {
|
||||
//bringing this backby default gives bad UX
|
||||
saved_tool = null
|
||||
}
|
||||
if (saved_tool != null) {
|
||||
this.active_tool = saved_tool;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user