Permalink
Browse files

Add start-work to BuildWindow so that non-resized windows draw too.

  • Loading branch information...
1 parent 6735300 commit aebb16f3ccbbe2280f4470e31dbb5be9efdf6de6 @colomon committed Dec 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/gtk-mandelbrot.pl
View
@@ -386,11 +386,11 @@
$.new-upper-right = Complex;
}
-
method BuildWindow()
{
my $index = +@windows;
@windows.push(self);
+ self.start-work;
my $window = Window.new($.is-julia ?? "julia $index" !! "mandelbrot $index");
$window.Resize($.width, $.height); # TODO: resize at runtime NYI

0 comments on commit aebb16f

Please sign in to comment.