From ed550948a9100ff61672761b5590b8db8fcdb943 Mon Sep 17 00:00:00 2001 From: hius07 <62179190+hius07@users.noreply.github.com> Date: Wed, 5 Jun 2024 07:48:29 +0300 Subject: [PATCH] mosaicmenu: fix collection mark (#11969) --- plugins/coverbrowser.koplugin/mosaicmenu.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/coverbrowser.koplugin/mosaicmenu.lua b/plugins/coverbrowser.koplugin/mosaicmenu.lua index e8ee6ed9c..d7e253823 100644 --- a/plugins/coverbrowser.koplugin/mosaicmenu.lua +++ b/plugins/coverbrowser.koplugin/mosaicmenu.lua @@ -752,8 +752,8 @@ function MosaicMenuItem:paintTo(bb, x, y) end local iy = 0 local rect_size = corner_mark_size - target.bordersize - bb:paintRect(x+ix+rect_ix, y+target.bordersize, rect_size, rect_size, Blitbuffer.COLOR_GRAY) - collection_mark:paintTo(bb, x+ix, y+iy) + bb:paintRect(x+ix+rect_ix, target.dimen.y+target.bordersize, rect_size, rect_size, Blitbuffer.COLOR_GRAY) + collection_mark:paintTo(bb, x+ix, target.dimen.y+iy) end if self.do_hint_opened and self.been_opened then