Skip to content

Commit

Permalink
chore: bump version/build
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGiddyLimit committed Sep 11, 2022
1 parent d1030d9 commit 96fb8dd
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 21 deletions.
2 changes: 1 addition & 1 deletion dist/betteR20-5etools.meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name betteR20-5etools
// @namespace https://5e.tools/
// @license MIT (https://opensource.org/licenses/MIT)
// @version 1.31.0
// @version 1.31.1
// @updateURL https://github.com/TheGiddyLimit/betterR20/raw/development/dist/betteR20-5etools.meta.js
// @downloadURL https://github.com/TheGiddyLimit/betterR20/raw/development/dist/betteR20-5etools.user.js
// @description Enhance your Roll20 experience
Expand Down
40 changes: 31 additions & 9 deletions dist/betteR20-5etools.user.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/betteR20-core.meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name betteR20-core
// @namespace https://5e.tools/
// @license MIT (https://opensource.org/licenses/MIT)
// @version 1.31.0
// @version 1.31.1
// @updateURL https://github.com/TheGiddyLimit/betterR20/raw/development/dist/betteR20-core.meta.js
// @downloadURL https://github.com/TheGiddyLimit/betterR20/raw/development/dist/betteR20-core.user.js
// @description Enhance your Roll20 experience
Expand Down
38 changes: 30 additions & 8 deletions dist/betteR20-core.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name betteR20-core
// @namespace https://5e.tools/
// @license MIT (https://opensource.org/licenses/MIT)
// @version 1.31.0
// @version 1.31.1
// @updateURL https://github.com/TheGiddyLimit/betterR20/raw/development/dist/betteR20-core.meta.js
// @downloadURL https://github.com/TheGiddyLimit/betterR20/raw/development/dist/betteR20-core.user.js
// @description Enhance your Roll20 experience
Expand Down Expand Up @@ -1568,6 +1568,14 @@ function baseConfig () {
"default": true,
"_type": "boolean",
},
"quickLayerButtonsPosition": {
"name": "-- Quick Layer Buttons position (left/right)",
"default": 0,
"_type": "_slider",
"__sliderMin": 0,
"__sliderMax": 1,
"__sliderStep": 1,
},
"quickInitButtons": {
"name": "Add Quick Initiative Sort Button",
"default": true,
Expand Down Expand Up @@ -2188,6 +2196,7 @@ function baseConfig () {
}

$(`#floatinglayerbar`).toggle(d20plus.cfg.getOrDefault("interface", "quickLayerButtons"));
$(`#floatinglayerbar`).toggleClass("right", !!d20plus.cfg.getOrDefault("interface", "quickLayerButtonsPosition"));
$(`#init-quick-sort-desc`).toggle(d20plus.cfg.getOrDefault("interface", "quickInitButtons"));
$(`input[placeholder="Search by tag or name..."]`).parent().toggle(!d20plus.cfg.getOrDefault("interface", "hideDefaultJournalSearch"))
};
Expand Down Expand Up @@ -11436,6 +11445,19 @@ function baseCss () {
s: "#floatinglayerbar.map li.choosemap, #floatinglayerbar.objects li.chooseobjects, #floatinglayerbar.gmlayer li.choosegmlayer, #floatinglayerbar.walls li.choosewalls, #floatinglayerbar.weather li.chooseweather, #floatinglayerbar.foreground li.chooseforeground, #floatinglayerbar.background li.choosebackground",
r: "background-color: #54C3E8; color: #333;",
},
// move layer bar to right
{
s: "#floatinglayerbar",
r: "pointer-events: all;",
},
{
s: "#floatinglayerbar.right",
r: "right: 30px; left: unset!important;",
},
{
s: "#floatinglayerbar",
r: "left: 20px;",
},
// extra layer buttons
{
s: "#editinglayer.weather div.submenu li.chooseweather, #editinglayer.foreground div.submenu li.chooseforeground, #editinglayer.background div.submenu li.choosebackground",
Expand Down Expand Up @@ -12149,7 +12171,7 @@ function baseUi () {
zIndex: 10600,
backgroundColor: "rgba(255,255,255,0.80)",
})
.appendTo($(`body`)).find(`ul`);
.appendTo($(`#playerzone`)).find(`ul`);

const handleClick = (clazz, evt) => $wrpBtnsMain.find(`.${clazz}`).trigger("click", evt);

Expand Down Expand Up @@ -13174,8 +13196,8 @@ function initTemplateTokenEditor () {
<span class='sr-only'>select a character sheet attribute to link to bar 1</span>
<select class='bar1_link'>
<option value=''>None</option>
<$ _.each(this.tokensettingsview.availAttribs(), function(attrib) { $>
<option value="<$!attrib.id$>"><$!attrib.name$>
<$ _.each(this.availAttribs(), function(attrib) { $>
<option value="<$!attrib.id$>"><$!attrib.name$>
<$ }); $>
</select>
</label>
Expand Down Expand Up @@ -13256,8 +13278,8 @@ function initTemplateTokenEditor () {
<span class='sr-only'>select a character sheet attribute to link to bar 2</span>
<select class='bar2_link'>
<option value=''>None</option>
<$ _.each(this.tokensettingsview.availAttribs(), function(attrib) { $>
<option value="<$!attrib.id$>"><$!attrib.name$>
<$ _.each(this.availAttribs(), function(attrib) { $>
<option value="<$!attrib.id$>"><$!attrib.name$>
<$ }); $>
</select>
</label>
Expand Down Expand Up @@ -13338,8 +13360,8 @@ function initTemplateTokenEditor () {
<span class='sr-only'>select a character sheet attribute to link to bar 3</span>
<select class='bar3_link'>
<option value=''>None</option>
<$ _.each(this.tokensettingsview.availAttribs(), function(attrib) { $>
<option value="<$!attrib.id$>"><$!attrib.name$>
<$ _.each(this.availAttribs(), function(attrib) { $>
<option value="<$!attrib.id$>"><$!attrib.name$>
<$ }); $>
</select>
</label>
Expand Down
2 changes: 1 addition & 1 deletion dist/betteR20-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.31.0
1.31.1
2 changes: 1 addition & 1 deletion node/build-scripts.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fs = require("fs");

const SCRIPT_VERSION = "1.31.0";
const SCRIPT_VERSION = "1.31.1";

const matchString = `
// @match https://app.roll20.net/editor
Expand Down

0 comments on commit 96fb8dd

Please sign in to comment.