1
0
Fork 0
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:
SirStendec 2016-03-24 12:01:25 -04:00
parent 2677a252d0
commit f1300f3a1e
2 changed files with 5 additions and 13 deletions

View file

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

View file

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