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,
|
position: ui.edits[ui.edit].position,
|
||||||
resolution: ui.videoResolution,
|
resolution: ui.videoResolution,
|
||||||
scaleToFill: ui.videoScale == 'fill',
|
scaleToFill: ui.videoScale == 'fill',
|
||||||
// selected: ...
|
selected: ui.edits[ui.edit].selection,
|
||||||
showClips: ui.showClips,
|
showClips: ui.showClips,
|
||||||
showTimeline: ui.showTimeline,
|
showTimeline: ui.showTimeline,
|
||||||
smallTimelineURL: getSmallTimelineURL(),
|
smallTimelineURL: getSmallTimelineURL(),
|
||||||
|
@ -245,6 +245,9 @@ pandora.ui.editPanel = function() {
|
||||||
scale: function(data) {
|
scale: function(data) {
|
||||||
pandora.UI.set({videoScale: data.scale});
|
pandora.UI.set({videoScale: data.scale});
|
||||||
},
|
},
|
||||||
|
select: function(data) {
|
||||||
|
pandora.UI.set(editsKey('selection'), data.ids);
|
||||||
|
},
|
||||||
size: function(data) {
|
size: function(data) {
|
||||||
pandora.UI.set({clipSize: data.size});
|
pandora.UI.set({clipSize: data.size});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue