All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit e9e9726f authored by Leigh B. Stoller's avatar Leigh B. Stoller

When not zooming, set the max width/height to much larger numbers.

Russ, I have no idea why this is here or how to get rid of it.

	my $out_width  = 792;
	my $out_height = 492;

Is there some way to get rid of these hardwired constants please?

Lbs
parent 4e83ebbf
...@@ -68,10 +68,18 @@ my $last_x = 0; # The UNZOOMED, and hence un-offset, previous click point. ...@@ -68,10 +68,18 @@ my $last_x = 0; # The UNZOOMED, and hence un-offset, previous click point.
my $last_y = 0; my $last_y = 0;
my $last_notitles = 0; # This says there were no titles around the previous images. my $last_notitles = 0; # This says there were no titles around the previous images.
# The image produced for each floor will be this size, except when using thumbnails. # The image produced for each floor will be this size, except when
# using thumbnails.
#
# XXX What is this!
my $out_width = 792; my $out_width = 792;
my $out_height = 492; my $out_height = 492;
if ($nozoom) {
my $out_width = 1280;
my $out_height = 1024;
}
# Max x,y of image to go into state file. # Max x,y of image to go into state file.
my $max_x = 0; my $max_x = 0;
my $max_y = 0; my $max_y = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment