forked from 0x2620/pandora
main menu: don't disable clip copy/paste on annotation select
This commit is contained in:
parent
74f3d190f2
commit
2a1533f55f
1 changed files with 6 additions and 3 deletions
|
@ -728,9 +728,12 @@ pandora.ui.mainMenu = function() {
|
||||||
that.setItemTitle('showtimeline', Ox._((data.value ? 'Hide' : 'Show') + ' Timeline'));
|
that.setItemTitle('showtimeline', Ox._((data.value ? 'Hide' : 'Show') + ' Timeline'));
|
||||||
},
|
},
|
||||||
pandora_videopoints: function(data) {
|
pandora_videopoints: function(data) {
|
||||||
var action = data.value['in'] != data.value.out ? 'enableItem' : 'disableItem';
|
var action;
|
||||||
|
if (data.value['in']) {
|
||||||
|
action = data.value['in'] != data.value.out ? 'enableItem' : 'disableItem';
|
||||||
that[action]('copy');
|
that[action]('copy');
|
||||||
that[action]('copyadd');
|
that[action]('copyadd');
|
||||||
|
}
|
||||||
},
|
},
|
||||||
pandora_videotimeline: function(data) {
|
pandora_videotimeline: function(data) {
|
||||||
that.checkItem('viewMenu_timelines_' + data.value);
|
that.checkItem('viewMenu_timelines_' + data.value);
|
||||||
|
|
Loading…
Reference in a new issue