1
0
Fork 0
forked from 0x2620/oxjs

fixing a resize bug in Ox.List

This commit is contained in:
rolux 2011-05-19 14:37:19 +02:00
commit f311e05412
5 changed files with 23 additions and 5 deletions

View file

@ -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)
});
}
});