[PE] switch to dark theme
This commit is contained in:
parent
d0b8151d35
commit
4c0e555be1
|
@ -839,6 +839,13 @@ define([
|
|||
Common.Gateway.documentReady();
|
||||
|
||||
$('.doc-placeholder').remove();
|
||||
|
||||
$('#header-logo').children(0).click(e => {
|
||||
e.stopImmediatePropagation();
|
||||
|
||||
$(':root').toggleClass('theme-dark');
|
||||
// getComputedStyle(document.documentElement).getPropertyValue('--background-normal');
|
||||
})
|
||||
},
|
||||
|
||||
onLicenseChanged: function(params) {
|
||||
|
|
|
@ -133,7 +133,7 @@ define([
|
|||
if (settingsType==Common.Utils.documentSettingsType.Slide) {
|
||||
this._settings[settingsType].locked = value.get_LockDelete();
|
||||
this._settings[settingsType].lockedBackground = value.get_LockBackground();
|
||||
this._settings[settingsType].lockedEffects = value.get_LockTranzition();
|
||||
this._settings[settingsType].lockedEffects = value.get_LockTransition();
|
||||
this._settings[settingsType].lockedTiming = value.get_LockTiming();
|
||||
this._settings[settingsType].lockedHeader = !!value.get_LockHeader && value.get_LockHeader();
|
||||
} else {
|
||||
|
|
|
@ -1382,7 +1382,7 @@ define([
|
|||
this._state.SlideColor = this.SlideColor.Color;
|
||||
}
|
||||
|
||||
var timing = props.get_timing();
|
||||
var timing = props.get_LockTiming();
|
||||
if (timing) {
|
||||
var value = timing.get_TransitionType();
|
||||
var found = false;
|
||||
|
|
Loading…
Reference in a new issue