From: Vincent Pit Date: Tue, 1 Feb 2011 13:25:41 +0000 (+0100) Subject: Allow fractional widths X-Git-Tag: rt87282~13 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=615913e4089427f90d33b25bd69534e202ae31ef;p=perl%2Fmodules%2FLaTeX-TikZ.git Allow fractional widths --- diff --git a/lib/LaTeX/TikZ/Mod/Width.pm b/lib/LaTeX/TikZ/Mod/Width.pm index 49c737a..d0ee31e 100644 --- a/lib/LaTeX/TikZ/Mod/Width.pm +++ b/lib/LaTeX/TikZ/Mod/Width.pm @@ -37,7 +37,7 @@ with 'LaTeX::TikZ::Mod'; has 'width' => ( is => 'ro', - isa => 'Int', + isa => 'Num', required => 1, );