]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/commitdiff
Allow fractional widths
authorVincent Pit <vince@profvince.com>
Tue, 1 Feb 2011 13:25:41 +0000 (14:25 +0100)
committerVincent Pit <vince@profvince.com>
Tue, 1 Feb 2011 13:25:41 +0000 (14:25 +0100)
lib/LaTeX/TikZ/Mod/Width.pm

index 49c737ae9f1fbebf62df135af9bb6a4602274699..d0ee31eae52de4ee13289553a70cdaf5db1187a4 100644 (file)
@@ -37,7 +37,7 @@ with 'LaTeX::TikZ::Mod';
 
 has 'width' => (
  is       => 'ro',
- isa      => 'Int',
+ isa      => 'Num',
  required => 1,
 );