uh-layout 0.1.7 → 0.1.8

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: 3b068d5ba61ed20730d5bd7fc9a28f63db1695d6
4
- data.tar.gz: da418aef2a7c8a918ed448a8c56a2c4b1dba7cfb
3
+ metadata.gz: 2ca5769ff37a5c22c8bc3706f22efce055edc717
4
+ data.tar.gz: 3cceb31d660ec6f2fa63e2975adf075377095fb4
5
5
  SHA512:
6
- metadata.gz: 691f8d9fcef6d65d269de2385a9adecd525a07c92552d4caf664254c6842aa9f5693d3945820da8474ec68e3e35f78866b9b591e41eaf77696422178f3a36dc4
7
- data.tar.gz: 49c221e1a5e1c9e7c6581b13577ab1016165cdb1bfd4963e6ca78bd589c4c07ed1b873a0d57545c26920cd8f7c2282c6f6492d841118a0da95a1319df7e76b64
6
+ metadata.gz: c6c21ded8c3b0fef4c4497c7e6783343ffc8571c5aa883f098a10ab1c76d1b8ad58af8895a07be12922b974ebae926167c2c9c92c1d968303801393222aefcc0
7
+ data.tar.gz: b55f1a21d29e7ce29f314e367f408f7183178250a7dd5b8154fb7b2954a4700ce40cc148911a2f0dfafef9f040115bbe9ff22a440d7cd6f6f3fa0cab31a3ce73
data/lib/uh/layout/bar.rb CHANGED
@@ -108,7 +108,7 @@ module Uh
108
108
 
109
109
  def draw_column(y_offset, column, current)
110
110
  x_offset = column_offset_x(column)
111
- if current
111
+ if current && active?
112
112
  @pixmap.gc_color @colors[:sel]
113
113
  @pixmap.draw_rect x_offset, y_offset, column.width, text_line_height
114
114
  end
@@ -1,5 +1,5 @@
1
1
  module Uh
2
2
  class Layout
3
- VERSION = '0.1.7'
3
+ VERSION = '0.1.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uh-layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibault Jouan