forked from 0x2620/oxjs
fixing a resize bug in Ox.List
This commit is contained in:
parent
7f904cda1f
commit
f311e05412
5 changed files with 23 additions and 5 deletions
|
|
@ -10,6 +10,18 @@ Ox.load('UI', {
|
|||
|
||||
var subtitles = Ox.parseSRT(srt, 25),
|
||||
layers = [
|
||||
{
|
||||
editable: true,
|
||||
id: 'privatenotes',
|
||||
items: [],
|
||||
title: 'Private Notes'
|
||||
},
|
||||
{
|
||||
editable: true,
|
||||
id: 'publicnotes',
|
||||
items: [],
|
||||
title: 'Public Notes'
|
||||
},
|
||||
{
|
||||
id: 'subtitles',
|
||||
items: subtitles.map(function(subtitle, i) {
|
||||
|
|
@ -87,8 +99,8 @@ Ox.load('UI', {
|
|||
Ox.UI.$window.bind({
|
||||
resize: function() {
|
||||
$videoEditor.options({
|
||||
width: $appPanel.size(1),
|
||||
height: $mainPanel.size(1)
|
||||
width: $appPanel.getSize(1),
|
||||
height: $mainPanel.getSize(1)
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue