forked from 0x2620/pandora
edits: make clips selection sticky
This commit is contained in:
parent
d474bdbee8
commit
31d7f41b55
1 changed files with 4 additions and 1 deletions
|
@ -102,7 +102,7 @@ pandora.ui.editPanel = function() {
|
|||
position: ui.edits[ui.edit].position,
|
||||
resolution: ui.videoResolution,
|
||||
scaleToFill: ui.videoScale == 'fill',
|
||||
// selected: ...
|
||||
selected: ui.edits[ui.edit].selection,
|
||||
showClips: ui.showClips,
|
||||
showTimeline: ui.showTimeline,
|
||||
smallTimelineURL: getSmallTimelineURL(),
|
||||
|
@ -245,6 +245,9 @@ pandora.ui.editPanel = function() {
|
|||
scale: function(data) {
|
||||
pandora.UI.set({videoScale: data.scale});
|
||||
},
|
||||
select: function(data) {
|
||||
pandora.UI.set(editsKey('selection'), data.ids);
|
||||
},
|
||||
size: function(data) {
|
||||
pandora.UI.set({clipSize: data.size});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue