[Fix] resedit: Ok, typo's out the way, and it's working as it should.
This commit is contained in:
parent
d6fda87c30
commit
d18303fce0
@ -271,7 +271,7 @@ class space:
|
|||||||
bg_gc = style.bg_gc[gtk.STATE_NORMAL]
|
bg_gc = style.bg_gc[gtk.STATE_NORMAL]
|
||||||
wx, wy, ww, wh = area.get_allocation()
|
wx, wy, ww, wh = area.get_allocation()
|
||||||
cx = self.x*self.zoom + ww/2
|
cx = self.x*self.zoom + ww/2
|
||||||
cy = sefl.y*self.zoom + wh/2
|
cy = self.y*self.zoom + wh/2
|
||||||
r = 15
|
r = 15
|
||||||
|
|
||||||
# Cleanup.
|
# Cleanup.
|
||||||
@ -295,7 +295,7 @@ class space:
|
|||||||
|
|
||||||
# Draw circle.
|
# Draw circle.
|
||||||
area.window.draw_arc(gc, True, dx-r/2, dy-r/2, r, r, 0, 360*64)
|
area.window.draw_arc(gc, True, dx-r/2, dy-r/2, r, r, 0, 360*64)
|
||||||
area.window.draw_arc(bg_gc, True, dxr/2+2, dy-r/2+2, r-4, r-4, 0, 360*64)
|
area.window.draw_arc(bg_gc, True, dx-r/2+2, dy-r/2+2, r-4, r-4, 0, 360*64)
|
||||||
|
|
||||||
# Draw name.
|
# Draw name.
|
||||||
layout = area.create_pango_layout(sys_name)
|
layout = area.create_pango_layout(sys_name)
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user