mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-02 00:58:32 +00:00
3.5.135. Put in a little helper for the player not resizing. Is this an ember bug or am I expecting too much?
This commit is contained in:
parent
2677a252d0
commit
f1300f3a1e
2 changed files with 5 additions and 13 deletions
|
@ -295,6 +295,10 @@ FFZ.prototype.setup_layout = function() {
|
|||
|
||||
}.observes("isRightColumnClosed", "playerSize", "rightColumnWidth", "portraitMode", "windowHeight", "windowWidth"),
|
||||
|
||||
ffzUpdatePlayerStyle: function() {
|
||||
Ember.propertyDidChange(Layout, 'playerStyle');
|
||||
}.observes('windowHeight', 'windowWidth'),
|
||||
|
||||
ffzUpdatePortraitCSS: function() {
|
||||
var portrait = this.get("portraitMode");
|
||||
document.body.classList.toggle("ffz-portrait", ! f.has_bttv && portrait);
|
||||
|
@ -310,18 +314,6 @@ FFZ.prototype.setup_layout = function() {
|
|||
}.observes("isRightColumnClosed", "rightColumnWidth", "portraitMode", "playerSize")
|
||||
});
|
||||
|
||||
/*
|
||||
// Try modifying the closer.
|
||||
var rc = jQuery("#right_close");
|
||||
if ( ! rc || ! rc.length )
|
||||
return;
|
||||
|
||||
rc.draggable({
|
||||
axis: "x",
|
||||
drag: Layout.ffzUpdateWidth.bind(Layout),
|
||||
stop: Layout.ffzUpdateWidth.bind(Layout)
|
||||
});*/
|
||||
|
||||
|
||||
// Force the layout to update.
|
||||
Layout.set('rightColumnWidth', this.settings.right_column_width);
|
||||
|
|
|
@ -35,7 +35,7 @@ FFZ.msg_commands = {};
|
|||
|
||||
// Version
|
||||
var VER = FFZ.version_info = {
|
||||
major: 3, minor: 5, revision: 134,
|
||||
major: 3, minor: 5, revision: 135,
|
||||
toString: function() {
|
||||
return [VER.major, VER.minor, VER.revision].join(".") + (VER.extra || "");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue