Revision: 6332
          http://sourceforge.net/p/jump-pilot/code/6332
Author:   ma15569
Date:     2020-06-13 06:41:10 +0000 (Sat, 13 Jun 2020)
Log Message:
-----------
correct scale

Modified Paths:
--------------
    plug-ins/CadPlan_JumpPrinter/trunk/src/com/cadplan/jump/SaveViewPlugIn.java

Modified: 
plug-ins/CadPlan_JumpPrinter/trunk/src/com/cadplan/jump/SaveViewPlugIn.java
===================================================================
--- plug-ins/CadPlan_JumpPrinter/trunk/src/com/cadplan/jump/SaveViewPlugIn.java 
2020-06-12 20:43:55 UTC (rev 6331)
+++ plug-ins/CadPlan_JumpPrinter/trunk/src/com/cadplan/jump/SaveViewPlugIn.java 
2020-06-13 06:41:10 UTC (rev 6332)
@@ -240,7 +240,8 @@
                        int viewPanelWidth = 
wContext.getLayerViewPanel().getWidth();
 
                        try {
-                               pixelSize = 
(newScale/screenScale)*viewPanelWidth;
+                               //pixelSize = 
(newScale/screenScale)*viewPanelWidth;
+                               pixelSize = 
(screenScale/newScale)*viewPanelWidth;
                        } catch (NumberFormatException e) {
                                pixelSize = 800;  //some reasonable default
                        }  



_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to