From 7a5bc222fd916a7f12c418880899ddac9086b19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tjark=20M=C3=BCller?= Date: Thu, 4 May 2023 13:28:58 +0200 Subject: [PATCH 01/13] documented/ solved svg rotation bug --- lib/flippable.html | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/lib/flippable.html b/lib/flippable.html index add8b31..db361eb 100644 --- a/lib/flippable.html +++ b/lib/flippable.html @@ -17,19 +17,27 @@ - + + + - - - - - +
+ + + + + +
+ @@ -46,6 +54,10 @@ via a HTML template that defines the placeholders for front and back views. The style file "css/flipeffect.css" holds reasonable default styles for this kind of templates.

+

+The SVG buttons have to be wrapped in an HTML DOM element which handles events. Otherwise, +the viewbox of the SVG will interfere with the coordinate transformation. +


     <template id="flipTemplate">
         <div class="flipWrapper">

From d45b3e68dd40b40dc706f9bfd5cbd9478ea8b529 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tjark=20M=C3=BCller?= 
Date: Thu, 4 May 2023 13:32:47 +0200
Subject: [PATCH 02/13] fixed rollup

---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index a95b291..e7e0d28 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,7 @@
         "test-eventlistener-hammerjs-destroy": "node ./test/tests/eventlistener/hammerjs-destroy.js",
         "test-eventlistener-interactionmapper": "node ./test/tests/eventlistener/interactionmapper.js",
         "test-eventlistener-interactionmapper-off": "node ./test/tests/eventlistener/interactionmapper-off.js",
-        "build": "rollup --config ./rollup.config.js",
+        "build": "rollup --config --bundleConfigAsCjs ./rollup.config.js",
         "watch": "rollup --watch --config ./rollup.config.js",
         "3rdparty": "gulp",
         "prettier": "gulp prettify",

From 12eb712fcefe94bb93db6e246a06d34d75352c4e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tjark=20M=C3=BCller?= 
Date: Fri, 12 May 2023 12:30:17 +0200
Subject: [PATCH 03/13] added fix for viewBox rotation bug

---
 lib/flippable.html | 113 ++++++++++++++++++++++++---------------------
 1 file changed, 61 insertions(+), 52 deletions(-)

diff --git a/lib/flippable.html b/lib/flippable.html
index add8b31..a4ec6a7 100644
--- a/lib/flippable.html
+++ b/lib/flippable.html
@@ -1,35 +1,43 @@
-
+
 
-
-	
-	Flippable Doctest
-	
-	
-	
-    
-	
+    
+        
+        Flippable Doctest
+        
+        
+        
+        
+        
 
-    
-