mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
make radius field respects popout flag
This commit is contained in:
@@ -503,7 +503,7 @@ function Menu:init()
|
||||
bordersize = self.is_borderless and 0 or 2,
|
||||
padding = 0,
|
||||
margin = 0,
|
||||
radius = math.floor(self.dimen.w/20),
|
||||
radius = self.is_popout and math.floor(self.dimen.w/20) or 0,
|
||||
content
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user