From 7ec9326ce00d08f9d957981f2edff6df26f24a28 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期四, 26 九月 2024 13:25:02 +0800
Subject: [PATCH] 修改

---
 web/public/SVGOrigin/Method-Draw-master/method-draw/extensions/ext-eyedropper.js |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/web/public/SVGOrigin/Method-Draw-master/method-draw/extensions/ext-eyedropper.js b/web/public/SVGOrigin/Method-Draw-master/method-draw/extensions/ext-eyedropper.js
index 9ab7433..ae766d2 100644
--- a/web/public/SVGOrigin/Method-Draw-master/method-draw/extensions/ext-eyedropper.js
+++ b/web/public/SVGOrigin/Method-Draw-master/method-draw/extensions/ext-eyedropper.js
@@ -21,7 +21,7 @@
       ChangeElementCommand = svgedit.history.ChangeElementCommand,
       addToHistory = function(cmd) { svgCanvas.undoMgr.addCommandToHistory(cmd); },
       currentStyle = {fillPaint: "red", fillOpacity: 1.0,
-              strokePaint: "black", strokeOpacity: 1.0, 
+              strokePaint: "black", strokeOpacity: 1.0,
               strokeWidth: 5, strokeDashArray: null,
               opacity: 1.0,
               strokeLinecap: 'butt',
@@ -34,7 +34,7 @@
       var tool = $('#tool_eyedropper');
 
     }
-    
+
     var getPaint = function(color, opac, type) {
       // update the editor's fill paint
       var opts = null;
@@ -48,7 +48,7 @@
 
         opts = { alpha: opac };
         opts[refElem.tagName] = refElem;
-      } 
+      }
       else if (color.indexOf("#") === 0) {
         opts = {
           alpha: opac,
@@ -63,7 +63,7 @@
       }
       return new $.jGraduate.Paint(opts);
     };
-    
+
     return {
       name: "eyedropper",
       svgicons: "extensions/eyedropper-icon.xml",
@@ -80,7 +80,7 @@
           }
         }
       }],
-      
+
       mouseDown: function(opts) {
         var mode = svgCanvas.getMode();
         var e = opts.event;
@@ -132,4 +132,4 @@
         }
       }
     };
-});
\ No newline at end of file
+});

--
Gitblit v1.9.1