mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Reduce handle size by 30%
This commit is contained in:
parent
ef7222d007
commit
11d00b59ea
@ -647,8 +647,8 @@ class SelectionBar:
|
||||
def place_single_handle(self, handle_height, handle, boundary, is_left):
|
||||
s = handle.style
|
||||
s.display = 'block' if boundary.onscreen else 'none'
|
||||
height = handle_height * 3
|
||||
width = handle_height * 2
|
||||
height = handle_height * 2
|
||||
width = int(height * 2 / 3)
|
||||
s.width = f'{width}px'
|
||||
s.height = f'{height}px'
|
||||
bottom = boundary.y + boundary.height
|
||||
|
Loading…
x
Reference in New Issue
Block a user