glimmer-dsl-swt 4.20.13.2 → 4.20.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +4 -0
 - data/VERSION +1 -1
 - data/glimmer-dsl-swt.gemspec +0 -0
 - data/lib/glimmer/swt/custom/shape.rb +1 -1
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: a2334810c1c1fb86f4539f50c79e463c1574abab93c58300e7352c68b1a6b77a
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 8a64907ff1c3b7eabbd13e289fc7bb603886a9128981af6606082a323b31d952
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 11fb6dea6fa4fdaccfde2ec485284a937eea521b7d41726b38c1e92cf098f2bd3d31ec739f5f1cf23f444df65983bea2a49b2dd2816d3dcc3f6a40720f8fc1a7
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 936aa733ded3e24d379ee2f0bff42ec0d49abf8410578ebb42b686481a25b820c3a52eaa4bf9680b983e92e92a197b1c53703c54d564ff798fa917ca9de34984
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            4.20.13. 
     | 
| 
      
 1 
     | 
    
         
            +
            4.20.13.3
         
     | 
    
        data/glimmer-dsl-swt.gemspec
    CHANGED
    
    | 
         Binary file 
     | 
| 
         @@ -217,7 +217,7 @@ module Glimmer 
     | 
|
| 
       217 
217 
     | 
    
         
             
                    # some shapes may choose to provide a fuzz factor to make usage of this method for mouse clicking more user friendly
         
     | 
| 
       218 
218 
     | 
    
         
             
                    def contain?(x, y)
         
     | 
| 
       219 
219 
     | 
    
         
             
                      # assume a rectangular filled shape by default (works for several shapes like image, text, and focus)
         
     | 
| 
       220 
     | 
    
         
            -
                      x.between?(self.absolute_x, self.absolute_x + calculated_width) && y.between?(self.absolute_y, self.absolute_y + calculated_height)
         
     | 
| 
      
 220 
     | 
    
         
            +
                      x.between?(self.absolute_x, self.absolute_x + calculated_width.to_f) && y.between?(self.absolute_y, self.absolute_y + calculated_height.to_f)
         
     | 
| 
       221 
221 
     | 
    
         
             
                    end
         
     | 
| 
       222 
222 
     | 
    
         | 
| 
       223 
223 
     | 
    
         
             
                    # Returns if shape includes a point. When the shape is filled, this is the same as contain. When the shape is drawn, it only returns true if the point lies on the edge (boundary/border)
         
     |