blacklight-spotlight 0.33.2 → 0.33.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9929af9368b873e9eb460daed4109a840efbb870
4
- data.tar.gz: b29558c9058a0e5632aee6a296072dcca65cadcd
3
+ metadata.gz: d9d37607ed5dd6c44a3c8d20fdc1cb23c215e0cf
4
+ data.tar.gz: 200752f1af9460de30d5f41ff34dded0c4ba915c
5
5
  SHA512:
6
- metadata.gz: 764a628705b402874bd623e4dbccab64d7e6115a4f654c9d733911b3e6fa55982380056661aca11340c861fafc29b237eb107129ca756d3563a389dcea5ee02c
7
- data.tar.gz: 4c8de36275779e9702c720fdcbb57801c9e9e9a863229c3fefbcc2f805e9d08ee95613d5d9d6aa5f7c44c6e7bc73708ded9a8156a9a66fbaeaf6f35f6eb7d0f8
6
+ metadata.gz: f82ef37de2bd4d4842ec980f6adedcfadcda7832ab12535ffe06aa68b7a87ce1f0d95556ac07f56936f8ea04cfff92dd5ab0c9638861d77b019ce051c2e37afd
7
+ data.tar.gz: ac6272bd9bb413d7ec3b0866db1baced8118585aa7e7b851bbd8d91d0d1d685eefca70740fea1370dc89c576b07ba91ab7a5f6a7bd588496d5dcded6fe492137
@@ -158,7 +158,7 @@ export default class Crop {
158
158
 
159
159
  // Pop a rectangle on there to show where it goes
160
160
  var bounds = L.latLngBounds(min, max);
161
- self.previousCropBox = L.rectangle(bounds);
161
+ self.previousCropBox = L.polygon([min, [min.lat, max.lng], max, [max.lat, min.lng]]);
162
162
  self.previousCropBox.addTo(self.iiifCropper);
163
163
  self.iiifCropper.panTo(bounds.getCenter());
164
164
 
@@ -1,3 +1,3 @@
1
1
  module Spotlight
2
- VERSION = '0.33.2'.freeze
2
+ VERSION = '0.33.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blacklight-spotlight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.2
4
+ version: 0.33.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer