diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2015-10-13 19:03:40 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2015-10-13 19:03:40 -0700 |
commit | ce73fbf0986c1e66c83f37b92c3b61d1c9813d60 (patch) | |
tree | 3c7547261ec8145af71121a62138afebe1e144e3 /grc/gui/Block.py | |
parent | b1883cb00cdb7c9d9d24cd48bf3127ff4aa547ae (diff) | |
parent | 5ac4940c2ed1400de10edf35efd47b7b905bd803 (diff) |
Merge branch 'maint'
Diffstat (limited to 'grc/gui/Block.py')
-rw-r--r-- | grc/gui/Block.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/gui/Block.py b/grc/gui/Block.py index 4157a0882d..6a2e496e20 100644 --- a/grc/gui/Block.py +++ b/grc/gui/Block.py @@ -304,7 +304,7 @@ class Block(Element): def draw_comment(self, gc, window): if not self._comment_pixmap: return - x, y = self.get_coordinate() + y += self.H if self.is_horizontal() else self.W window.draw_drawable(gc, self._comment_pixmap, 0, 0, x, - y + self.H + BLOCK_LABEL_PADDING, -1, -1) + y + BLOCK_LABEL_PADDING, -1, -1) |