Skip to content

Commit

Permalink
Removed duplicate height attribute. Better defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Sep 26, 2016
1 parent 8ec329c commit 937b6d9
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions lib/Timeline/SVG.pm
Expand Up @@ -22,13 +22,13 @@ has events => (
has width => (
is => 'ro',
isa => 'Int',
default => 2048,
default => '100%',
);

has height => (
is => 'ro',
isa => 'Int',
default => 1152,
default => '100%',
);

has viewbox => (
Expand Down Expand Up @@ -86,12 +86,6 @@ has bar_padding => (
default => 2,
);

has height => (
is => 'ro',
isa => 'Int',
default => 1500,
);

# The colour that the decade lines are drawn on the chart
has decade_line_colour => (
is => 'ro',
Expand Down

0 comments on commit 937b6d9

Please sign in to comment.