From 8de753aac560933e3c9f4a12a91dad2e533fb6ca Mon Sep 17 00:00:00 2001 From: Jesse McDonald Date: Sun, 21 Jun 2020 23:02:51 -0500 Subject: [PATCH] use horizontal clip effect instead of fold --- js/pacosako_ui.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/js/pacosako_ui.js b/js/pacosako_ui.js index d43c80a..357b22a 100644 --- a/js/pacosako_ui.js +++ b/js/pacosako_ui.js @@ -8,7 +8,7 @@ import deepEqual from 'deep-equal'; import 'webpack-jquery-ui/draggable'; import 'webpack-jquery-ui/droppable'; import 'webpack-jquery-ui/selectmenu'; -import 'webpack-jquery-ui/fold-effect'; +import 'webpack-jquery-ui/clip-effect'; import 'webpack-jquery-ui/css'; import 'jquery-ui-touch-punch'; @@ -1322,7 +1322,8 @@ $(function (){ oldTile.removeAttr('id'); if (oldTile.length >= 1) { oldTile.hide({ - effect: "fold", + effect: "clip", + direction: "horizontal", complete() { oldTile.remove(); }, @@ -1380,7 +1381,10 @@ $(function (){ $(list).appendTo(gameTiles); updateTileAges(); - tile.show("fold"); + tile.show({ + effect: "clip", + direction: "horizontal", + }); selectBox.setContent(gameSelectContent); }