Merge pull request #1146 from hiroto22/feat/draggable-modal

make modal draggable
This commit is contained in:
Peter Cottle 2024-05-13 19:32:17 -04:00 committed by GitHub
commit 81d9bdf6d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -327,6 +327,14 @@ var ModalTerminal = ContainedBase.extend({
};
this.render();
this.$terminal = this.$el.find('.terminal-window-holder').first();
this.$terminal.draggable({
cursor: 'move',
handle: '.toolbar',
containment: '#interfaceWrapper',
scroll: false
});
},
updateTitle: function(/*string*/ title) {