--- deliantra/Deliantra-Client/DC/MapWidget.pm 2006/05/17 10:14:52 1.24 +++ deliantra/Deliantra-Client/DC/MapWidget.pm 2006/05/17 16:17:01 1.26 @@ -81,6 +81,9 @@ sub draw { my ($self) = @_; + return + unless $CFClient::UI::FOCUS == $self || !$::FAST; + if (delete $self->{need_update}) { glNewList $self->{list}; @@ -247,8 +250,7 @@ $tooltip =~ s/^\s+//; - $tooltip = "" . (CFClient::UI::Label::escape $data) . "\n\n" - . CFClient::UI::Label::escape $tooltip; + $tooltip = "$data\n\n$tooltip"; $tooltip =~ s/\s+$//; @@ -361,9 +363,10 @@ $self->{label} = [ map CFClient::UI::Label->new ( - can_hover => 1, - can_events => 1, - fontsize => $_, + can_hover => 1, + can_events => 1, + tooltip_width => 0.33, + fontsize => $_, ), (0.8) x 6 ];