final base 0.8.x changes
This commit is contained in:
@@ -439,4 +439,10 @@ export class DeltaGreenActorSheet extends ActorSheet {
|
||||
// Set data transfer
|
||||
event.dataTransfer.setData("text/plain", JSON.stringify(dragData));
|
||||
}
|
||||
|
||||
activateEditor(target, editorOptions, initialContent) {
|
||||
editorOptions.content_css = "./systems/deltagreen/css/editor.css";
|
||||
return super.activateEditor(target, editorOptions, initialContent);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -161,28 +161,13 @@ Hooks.on("ready", ()=> {
|
||||
if(backgroundImageSetting === "OldPaper1"){
|
||||
customCss += `section.window-content{
|
||||
background: url("systems/deltagreen/assets/img/old_paper.jpg") !important;
|
||||
}
|
||||
.editor-host .tox .tox-editor-container {
|
||||
background: url("../assets/img/old_paper.jpg") !important;
|
||||
font-family: "SpecialElite", sans-serif !important;
|
||||
}`;
|
||||
}
|
||||
else if(backgroundImageSetting === "IvoryPaper"){
|
||||
customCss += `section.window-content{
|
||||
background: url("systems/deltagreen/assets/img/ivory-off-white-paper-texture.jpg") !important;
|
||||
background-size: 100% !important;
|
||||
}
|
||||
.editor-host .tox .tox-editor-container {
|
||||
background: url("systems/deltagreen/assets/img/ivory-off-white-paper-texture.jpg") !important;
|
||||
background-size: 100% !important;
|
||||
}`;
|
||||
}
|
||||
else{
|
||||
customCss += `.editor-host .tox .tox-editor-container {
|
||||
background: url("/ui/parchment.jpg") !important;
|
||||
background-size: 100% !important;
|
||||
}`;
|
||||
}
|
||||
|
||||
customStyle.innerHTML = customCss;
|
||||
|
||||
|
||||
+12
-1
@@ -358,4 +358,15 @@ export function skillIsStatTest(skillName){
|
||||
catch(ex){
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* rollMode Options -> CONFIG.Dice.rollModes
|
||||
|
||||
game.i18n.localize("CHAT.RollBlind") -> "Blind GM Roll"
|
||||
{{selectOptions rollModes selected=defaultRollMode localize=true}}
|
||||
|
||||
roll -> 'Public Roll'
|
||||
gmroll -> 'Private GM Roll'
|
||||
blindroll -> 'Blind GM Roll'
|
||||
selfroll -> 'Self Roll'
|
||||
*/
|
||||
Reference in New Issue
Block a user