From ea138c4e06558322cc0f3ef7ddcc35f7fbaf16f3 Mon Sep 17 00:00:00 2001 From: Gary Martin Date: Wed, 03 Oct 2012 18:02:31 +0000 Subject: Stop tick marks exceeding clock face in some areas. --- (limited to 'clock.py') diff --git a/clock.py b/clock.py index 46c95c8..fa78269 100755 --- a/clock.py +++ b/clock.py @@ -721,8 +721,8 @@ class ClockFace(gtk.DrawingArea): sin = math.sin(i * math.pi / 30.0) cr.move_to(int(self._center_x + (self._radius - inset) * cos), int(self._center_y + (self._radius - inset) * sin)) - cr.line_to(int(self._center_x + self._radius * cos), - int(self._center_y + self._radius * sin)) + cr.line_to(int(self._center_x + (self._radius - 3) * cos), + int(self._center_y + (self._radius - 3) * sin)) cr.stroke() def _draw_nice_background(self): -- cgit v0.9.1