summaryrefslogtreecommitdiff
path: root/src/PSEditWidget.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2005-01-28 14:08:28 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2005-01-28 14:08:28 +0000
commit06d7266443339a4004d690ebe49da66f21abe9bd (patch)
tree4c02aa9ba68ce77dff3797c1904c91df976de8f4 /src/PSEditWidget.cxx
parente9defef906d2c31a1d03615a1a2ed31a89a81dc5 (diff)
scroll to 0,0 before zooming
scroll to 0,0 before zooming
Diffstat (limited to 'src/PSEditWidget.cxx')
-rw-r--r--src/PSEditWidget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PSEditWidget.cxx b/src/PSEditWidget.cxx
index 0d95d2c..1286b15 100644
--- a/src/PSEditWidget.cxx
+++ b/src/PSEditWidget.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: PSEditWidget.cxx,v 1.32 2005/01/27 21:07:09 hofmann Exp $"
+// "$Id: PSEditWidget.cxx,v 1.33 2005/01/28 15:08:28 hofmann Exp $"
//
// PSEditWidget routines.
//
@@ -70,7 +70,7 @@ void PSEditWidget::draw() {
if (t->get_tag() && show_tags) {
int text_height = fl_height() - fl_descent();
fl_color(FL_BLUE);
- fl_font(FLPSED_TAG_FONT, FLPSED_TAG_FONT_SIZE);
+ fl_font(FLPSED_TAG_FONT, FLPSED_TAG_FONT_SIZE * zoom_percent / 100);
fl_draw(t->get_tag(), t_x + x(),
t_y + y() - text_height - 1);
}