Add support for placement id to GraphicsCommand

This commit is contained in:
Kovid Goyal 2020-12-02 05:35:57 +05:30
parent b5e704a934
commit f52c843fa2
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 15 additions and 10 deletions

View file

@ -338,8 +338,8 @@ class DiffHandler(Handler):
if candidate.image.image_id == image_id:
q = self.xpos_for_image(row, candidate, is_left)
if q is not None:
pl['x'] = q[0]
pl['y'] = row
pl.x = q[0]
pl.y = row
return True
return False