Skip to content

Commit

Permalink
push core version
Browse files Browse the repository at this point in the history
  • Loading branch information
ardittristan committed Oct 22, 2020
1 parent 24fd33a commit 55cc1a1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib/* linguist-vendored
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.5.2

* Push compatible core version.

## 2.5.1

* Add optional translation support.
Expand Down
7 changes: 6 additions & 1 deletion colorSetting.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
// https://github.com/ardittristan/VTTColorSettings

import Picker from "./lib/vanilla-picker.min.mjs";
import html2canvas from './lib/html2canvas.esm.min.js';
import _html2canvas from './lib/html2canvas.esm.min.js';
/** @type {Html2CanvasStatic} */
const html2canvas = _html2canvas

var pickerShown = {};
var data = {};
Expand Down Expand Up @@ -145,6 +147,7 @@ class SettingsForm extends FormApplication {
this.module = this.settings[0];
this.key = this.settings[1];
this.label = this.settings[2];
/** @type {import('vanilla-picker').default} */
this.picker = new Picker();
this._getEyeDropper = this._getEyeDropper.bind(this);
}
Expand Down Expand Up @@ -267,6 +270,7 @@ class colorPickerInput extends HTMLInputElement {
}

_makePicker(pickerClass) {
/** @type {import('vanilla-picker').default} */
this.picker = new Picker();

// check if an actual value
Expand Down Expand Up @@ -344,6 +348,7 @@ class colorPickerButton extends HTMLButtonElement {
}

_makePicker() {
/** @type {import('vanilla-picker').default} */
this.picker = new Picker();

// check if an actual value
Expand Down
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "colorsettings",
"title": "lib - Color Settings",
"description": "Library that allows modules to add color settings and forms.",
"version": "2.5.1",
"version": "2.5.2",
"author": "ardittristan#0001",
"esmodules": ["colorSetting.js"],
"languages": [
Expand All @@ -17,7 +17,7 @@
"manifest": "https://raw.githubusercontent.com/ardittristan/VTTColorSettings/master/module.json",
"download": "https://github.com/ardittristan/VTTColorSettings/releases/latest/download/colorSettings.zip",
"minimumCoreVersion": "0.5.5",
"compatibleCoreVersion": "0.7.0",
"compatibleCoreVersion": "0.7.5",
"styles": [
"./css/colorpicker.css"
]
Expand Down

0 comments on commit 55cc1a1

Please sign in to comment.