Skip to content

Commit

Permalink
Fixing Refactoring Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mclemente committed Mar 31, 2021
1 parent 1b750ea commit df007e0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "healthEstimate",
"title": "Health Estimate 2",
"description": "Gives players ability to see approximate health status of a token",
"version": "2.5.0.1",
"version": "2.5.0.2",
"author": "MClemente, Shylight",
"scripts": [
"./lib/chroma.min.js",
Expand Down
2 changes: 1 addition & 1 deletion module/logic.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class HealthEstimateOverlay extends BasePlaceableHUD {
static get defaultOptions () {
const options = super.defaultOptions
options.classes = options.classes.concat(['healthEstimate', 'healthEstimateColor'])
options.template = 'modules/healthestimate/templates/healthEstimate.hbs'
options.template = 'modules/healthEstimate/templates/healthEstimate.hbs'
options.id = 'healthEstimate'
return options
}
Expand Down
4 changes: 2 additions & 2 deletions module/preloadTemplates.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const preloadTemplates = async function () {
const templatePaths = [
// Add paths to "modules/healthestimate/templates"
'modules/healthestimate/templates/healthEstimate.hbs'
// Add paths to "modules/healthEstimate/templates"
'modules/healthEstimate/templates/healthEstimate.hbs'
]

return loadTemplates(templatePaths)
Expand Down
2 changes: 1 addition & 1 deletion module/styleSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class HealthEstimateStyleSettings extends FormApplication {
return mergeObject(super.defaultOptions, {
id : 'healthestimate-style-form',
title : 'Health Estimate Style Settings',
template : './modules/healthestimate/templates/settings.hbs',
template : './modules/healthEstimate/templates/settings.hbs',
classes : ['sheet'],
width : 640,
height : 480,
Expand Down
2 changes: 1 addition & 1 deletion templates/settings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</div>
<div style="flex:0; margin: 20px 10px 0 30px;">
<span class="sampleFrameHE">
<img src="./modules/healthestimate/static/frame.png" alt="" style="margin-bottom: -106px">
<img src="./modules/healthEstimate/static/frame.png" alt="" style="margin-bottom: -106px">
<div id="healthEstimateSample" class="healthEstimate" style="height: 106px;width: 106px">
<span style="display:flex; justify-content: center">
<span class="healthEstimateColor">Text&nbsp;</span>
Expand Down

0 comments on commit df007e0

Please sign in to comment.