Fix the badge position at the icon attach point - SL #3835
The convert script pygi-convert.sh commented out the call to
info.get_attach_points() in commit 820efa56
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
This commit is contained in:
parent
bb515893ab
commit
c0756f48d4
@ -121,7 +121,7 @@ class _IconBuffer(object):
|
||||
return self._loader.load(file_name, entities, self.cache)
|
||||
|
||||
def _get_attach_points(self, info, size_request):
|
||||
return 0,0;has_attach_points_, attach_points = info.get_attach_points()
|
||||
has_attach_points_, attach_points = info.get_attach_points()
|
||||
|
||||
if attach_points:
|
||||
attach_x = float(attach_points[0].x) / size_request
|
||||
|
Loading…
Reference in New Issue
Block a user