Skip to content

Commit

Permalink
Switch to select tool after choosing a media clip
Browse files Browse the repository at this point in the history
  • Loading branch information
bit9labs committed Jul 28, 2023
1 parent d36fbad commit 7ca23d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/tools/media.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import app from './../app.js';
import config from './../config.js';
import Base_tools_class from './../core/base-tools.js';
import File_open_class from './../modules/file/open.js';
Expand Down Expand Up @@ -98,6 +99,8 @@ class Media_class extends Base_tools_class {
};
_this.File_open.file_open_url_handler(data);
_this.POP.hide();

new app.Actions.Activate_tool_action('select', true).do();
});
}
var targets = popup.el.querySelectorAll('#media_paging button');
Expand Down

0 comments on commit 7ca23d9

Please sign in to comment.