From a3e44cefd1d83bde949d14920c9a5d3d17d4386f Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期二, 06 八月 2024 14:45:06 +0800
Subject: [PATCH] 修改

---
 web/public/SVGOrigin/Method-Draw-master/editor/extensions/ext-eyedropper.js |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/web/public/SVGOrigin/Method-Draw-master/editor/extensions/ext-eyedropper.js b/web/public/SVGOrigin/Method-Draw-master/editor/extensions/ext-eyedropper.js
index 9ab7433..8c960c4 100644
--- a/web/public/SVGOrigin/Method-Draw-master/editor/extensions/ext-eyedropper.js
+++ b/web/public/SVGOrigin/Method-Draw-master/editor/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,14 +63,14 @@
       }
       return new $.jGraduate.Paint(opts);
     };
-    
+
     return {
       name: "eyedropper",
       svgicons: "extensions/eyedropper-icon.xml",
       buttons: [{
         id: "tool_eyedropper",
         type: "mode",
-        title: "Eye Dropper Tool",
+        title: "鍚哥宸ュ叿",
         position: 8,
         key: "I",
         icon: "extensions/eyedropper.png",
@@ -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