Skip to content

Commit

Permalink
chore: autopublish 2024-04-29T00:31:31Z
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 29, 2024
1 parent 61971f4 commit def6a8c
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 15 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ Calculate how to link the portals to create the largest tidy set of nested field
*Recommends*: [bookmarks@ZasoGD](#) [draw-tools-plus@zaso](#) [liveInventory@DanielOnDiordna](#live-inventory-by-eisfrei---fork-by-danielondiordna) [keys@xelio](#) |
*[Homepage](https://github.com/Heistergand/fanfields2/)* |
*[Issue tracker](https://github.com/Heistergand/fanfields2/issues)* |
*Version:* 2.5.6.20240410
*Version:* 2.6.0.20240428



Expand Down Expand Up @@ -770,7 +770,7 @@ Add one or more player markers and his ranges (hack/deploy range and xmp ranges)
Pokemon Go tools over IITC.

*[Homepage](https://alfonsoml-s.github.io/pogo-s2/)* |
*Version:* 0.101
*Version:* 0.102



Expand Down Expand Up @@ -908,7 +908,7 @@ Display heatmap of all portals that the player did NOT visit/capture.
Place markers on the map for your candidates in Wayfarer.

*[Homepage](https://alfonsoml-s.github.io/wayfarer-tools/)* |
*Version:* 1.162
*Version:* 1.163



Expand Down
4 changes: 2 additions & 2 deletions dist/Alfonso_M/s2check.meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
// @category Layer
// @namespace https://github.com/AlfonsoML-s/pogo-s2/
// @downloadURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/Alfonso_M/s2check.user.js
// @updateURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/Alfonso_M/s2check.meta.js
// @homepageURL https://alfonsoml-s.github.io/pogo-s2/
// @version 0.101
// @version 0.102
// @description Pokemon Go tools over IITC.
// @updateURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/Alfonso_M/s2check.meta.js
// @match https://intel.ingress.com/*
// @grant none
// ==/UserScript==
4 changes: 2 additions & 2 deletions dist/Alfonso_M/s2check.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
// @category Layer
// @namespace https://github.com/AlfonsoML-s/pogo-s2/
// @downloadURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/Alfonso_M/s2check.user.js
// @updateURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/Alfonso_M/s2check.meta.js
// @homepageURL https://alfonsoml-s.github.io/pogo-s2/
// @version 0.101
// @version 0.102
// @description Pokemon Go tools over IITC.
// @updateURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/Alfonso_M/s2check.meta.js
// @match https://intel.ingress.com/*
// @grant none
// ==/UserScript==
Expand Down
2 changes: 1 addition & 1 deletion dist/Alfonso_M/wayfarer-planner.meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @id wayfarer-planner@Alfonso_M
// @name Wayfarer Planner
// @category Layer
// @version 1.162
// @version 1.163
// @namespace https://github.com/AlfonsoML-s/wayfarer-tools/
// @downloadURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/Alfonso_M/wayfarer-planner.user.js
// @homepageURL https://alfonsoml-s.github.io/wayfarer-tools/
Expand Down
4 changes: 2 additions & 2 deletions dist/Alfonso_M/wayfarer-planner.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @id wayfarer-planner@Alfonso_M
// @name Wayfarer Planner
// @category Layer
// @version 1.162
// @version 1.163
// @namespace https://github.com/AlfonsoML-s/wayfarer-tools/
// @downloadURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/Alfonso_M/wayfarer-planner.user.js
// @homepageURL https://alfonsoml-s.github.io/wayfarer-tools/
Expand Down Expand Up @@ -730,4 +730,4 @@
// Tampermonkey, run code directly
wrapper(plugin_info);
}
})();
})();
2 changes: 1 addition & 1 deletion dist/heistergand/fanfields.meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @name Fan Fields 2
// @id fanfields@heistergand
// @category Layer
// @version 2.5.6.20240410
// @version 2.6.0.20240428
// @description Calculate how to link the portals to create the largest tidy set of nested fields. Enable from the layer chooser.
// @downloadURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/heistergand/fanfields.user.js
// @updateURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/heistergand/fanfields.meta.js
Expand Down
45 changes: 41 additions & 4 deletions dist/heistergand/fanfields.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @name Fan Fields 2
// @id fanfields@heistergand
// @category Layer
// @version 2.5.6.20240410
// @version 2.6.0.20240428
// @description Calculate how to link the portals to create the largest tidy set of nested fields. Enable from the layer chooser.
// @downloadURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/heistergand/fanfields.user.js
// @updateURL https://raw.githubusercontent.com/IITC-CE/Community-plugins/master/dist/heistergand/fanfields.meta.js
Expand All @@ -21,6 +21,7 @@
// @grant none
// ==/UserScript==


/*
Version History:
Expand Down Expand Up @@ -49,7 +50,12 @@ function wrapper(plugin_info) {
/* exported setup, changelog --eslint */
let arcname = window.PLAYER.team === 'ENLIGHTENED' ? 'Arc' : '***';
var changelog = [

{
version: '2.6.0',
changes: [
'NEW: Add control buttons for better ux on mobile.',
],
},
{
version: '2.5.6',
changes: [
Expand Down Expand Up @@ -1936,6 +1942,37 @@ function wrapper(plugin_info) {

};

var symbol_clockwise = '↻';
var symbol_counterclockwise = '↺';

thisplugin.addFfButtons = function () {
thisplugin.ffButtons = L.Control.extend({
options: {
position: "topleft",
},
onAdd: function (map) {
var container = L.DomUtil.create("div", "leaflet-fanfields leaflet-bar");
$(container)
.append(
'<a id="fanfieldShiftLeftButton" href="javascript: void(0);" class="fanfields-control" title="FanFields shift left">'+symbol_counterclockwise+'</a>'
)
.on("click", "#fanfieldShiftLeftButton", function () {
thisplugin.previousStartingPoint();
});

$(container)
.append(
'<a id="fanfieldShiftRightButton" href="javascript: void(0);" class="fanfields-control" title="FanFields shift right">'+symbol_clockwise+'</a>'
)
.on("click", "#fanfieldShiftRightButton", function () {
thisplugin.nextStartingPoint();
});

return container;
},
});
map.addControl(new thisplugin.ffButtons());
};

thisplugin.setup = function() {
thisplugin.setupCSS();
Expand Down Expand Up @@ -1970,8 +2007,7 @@ function wrapper(plugin_info) {



var symbol_clockwise = '&#8635;';
var symbol_counterclockwise = '&#8634;';


var symbol_up = '&#5123;';
var symbol_down = '&#5121;';
Expand Down Expand Up @@ -2041,6 +2077,7 @@ function wrapper(plugin_info) {

$('#sidebar').append('<div id="fanfields2" class="plugin_fanfields_sidebar"></div>');

thisplugin.addFfButtons();

if (!window.plugin.drawTools) {
var width = 400;
Expand Down

0 comments on commit def6a8c

Please sign in to comment.