c80_map_floors 0.2.0.7 → 0.2.0.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6651de09f3c90ce55de795e39923cb41aab5b126
4
- data.tar.gz: 3e81b4658081496d133917d66078cb1c5791d937
3
+ metadata.gz: 12562e1d29ffa3aa03573adbf587cfa7462dedaf
4
+ data.tar.gz: 69c9b326a50ef540f6d1da7a44dfc9707bf0a2d9
5
5
  SHA512:
6
- metadata.gz: d8197e390e8feacea6c3fcea634bea1f39d7f89a3d16ef63076abd1d103284151dbce88717eaac4ee49cada3c6a613fe1987a67a9c64015514597c9e21b5c5d8
7
- data.tar.gz: 513bdfa8b7cc8c8b2b5b63d0dc21ff78b5e627c0bec5dbff45cbda42bb01dc4b588bb6829347353dc16fc45a4ea9636aac34f5a594bbbdfab723474a08cb015a
6
+ metadata.gz: ecc52260192c12dfdf97c52526bdbfab6d00d3ae879c706d25dd0d8a88cdf8295c1a74e1bf40dc81cf61cd723a36dc44a189a8b3d60ef1aebed6576e952d5abe
7
+ data.tar.gz: d3c6c6639bd3ebac4dbfa4cc2c9fff78be474484654e49531b5ae3edfcd9cc2d36126a6bac8d03d28025773cd792973213f1e4f59ea4b0ec27f32e0fa1e684f3
@@ -55,11 +55,12 @@ function BackToMapButton() {
55
55
 
56
56
  };
57
57
 
58
- _this.show = function () {
58
+ _this.show = function (delay) {
59
59
 
60
- // хардкод - подгоняем под длину анимации, прописанной в css (+200 ms на возможный лаг)
61
- setTimeout(__show, 1000);
60
+ var used_delay = (delay === undefined) ? 1000:delay;
62
61
 
62
+ // хардкод - подгоняем под длину анимации, прописанной в css (+200 ms на возможный лаг)
63
+ setTimeout(__show, used_delay);
63
64
 
64
65
  };
65
66
  var __show = function () {
@@ -147,6 +147,7 @@ var InitMap = function (params) {
147
147
  self.building_info_klass = new BuildingInfo({
148
148
  onFloorTabChange: function (floor_id) {
149
149
  self.current_building.enterFloor(floor_id); //#-> только с помощью клика по табам можно войти на Этаж
150
+ self.back_to_map_button_klass.show(10);
150
151
  }
151
152
  });
152
153
 
@@ -8,12 +8,12 @@
8
8
  line-height: 50px;
9
9
  width: 450px;
10
10
  height: 50px;
11
- z-index: 5;
12
- transition: opacity 0.6s ease-out;
11
+ z-index: 4;
12
+ /*transition: opacity 0.6s ease-out;
13
13
  -webkit-transition: all 0.6s ease-out;
14
14
  -moz-transition: all 0.6s ease-out;
15
15
  -ms-transition: all 0.6s ease-out;
16
- -o-transition: all 0.6s ease-out;
16
+ -o-transition: all 0.6s ease-out;*/
17
17
  position: absolute;
18
18
  padding: 0 15px;
19
19
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
@@ -1,3 +1,3 @@
1
1
  module C80MapFloors
2
- VERSION = '0.2.0.7'
2
+ VERSION = '0.2.0.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c80_map_floors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.7
4
+ version: 0.2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - C80609A
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-15 00:00:00.000000000 Z
11
+ date: 2017-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler