fixes
This commit is contained in:
parent
c34340d0d1
commit
761f2c21a8
@ -231,7 +231,6 @@ class VideoData {
|
|||||||
*/
|
*/
|
||||||
preparePage() {
|
preparePage() {
|
||||||
this.injectBaseCss();
|
this.injectBaseCss();
|
||||||
|
|
||||||
this.pageInfo.initMouseActionHandler(this);
|
this.pageInfo.initMouseActionHandler(this);
|
||||||
|
|
||||||
// aspect ratio autodetection cannot be properly initialized at this time,
|
// aspect ratio autodetection cannot be properly initialized at this time,
|
||||||
@ -364,8 +363,7 @@ class VideoData {
|
|||||||
if (!options?.fromPlayer) {
|
if (!options?.fromPlayer) {
|
||||||
this.player?.enable();
|
this.player?.enable();
|
||||||
}
|
}
|
||||||
|
// this.restoreCrop();
|
||||||
this.restoreCrop();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -403,6 +401,7 @@ class VideoData {
|
|||||||
this.logger.log('info', 'debug', '[VideoData::restoreCrop] Attempting to reset aspect ratio.')
|
this.logger.log('info', 'debug', '[VideoData::restoreCrop] Attempting to reset aspect ratio.')
|
||||||
// if we have default crop set for this page, apply this.
|
// if we have default crop set for this page, apply this.
|
||||||
// otherwise, reset crop
|
// otherwise, reset crop
|
||||||
|
|
||||||
if (this.pageInfo.defaultCrop) {
|
if (this.pageInfo.defaultCrop) {
|
||||||
this.resizer.setAr(this.pageInfo.defaultCrop);
|
this.resizer.setAr(this.pageInfo.defaultCrop);
|
||||||
} else {
|
} else {
|
||||||
@ -554,8 +553,8 @@ class VideoData {
|
|||||||
&& this.isWithin(vh, (ph - (translateY * 2)), 2)
|
&& this.isWithin(vh, (ph - (translateY * 2)), 2)
|
||||||
&& this.isWithin(vw, (pw - (translateX * 2)), 2)) {
|
&& this.isWithin(vw, (pw - (translateX * 2)), 2)) {
|
||||||
} else {
|
} else {
|
||||||
this.player.forceRefreshPlayerElement();
|
// this.player.forceRefreshPlayerElement();
|
||||||
this.restoreAr();
|
// this.restoreAr();
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
@import "colors.scss";
|
@import "colors.scss";
|
||||||
@import "fonts.scss";
|
@import "fonts.scss";
|
||||||
@import "flex.scss";
|
@import "flex.scss";
|
||||||
|
// @import "~/@mdi/font/css/materialdesignicons.css";
|
||||||
|
|
||||||
// @import "form.scss";
|
// @import "form.scss";
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -239,7 +241,7 @@ body {
|
|||||||
user-select: none;;
|
user-select: none;;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.selected, .setting-selected {
|
.selected, .setting-selected {
|
||||||
color: $selected-color !important;
|
color: $selected-color !important;
|
||||||
background-color: $background-selected !important;
|
background-color: $background-selected !important;
|
||||||
@ -266,7 +268,7 @@ body {
|
|||||||
|
|
||||||
.disabled-button {
|
.disabled-button {
|
||||||
color: #666 !important;
|
color: #666 !important;
|
||||||
cursor: not-allowed !important;
|
cursor: not-allowed !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.disabled-button:hover {
|
.disabled-button:hover {
|
||||||
|
Loading…
Reference in New Issue
Block a user