ReaderHighlight: new Select mode icon (#9869)

reviewable/pr9905/r1
hius07 1 year ago committed by GitHub
parent 49d8ec2f4f
commit c53dd55b16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -16,8 +16,9 @@ function ReaderFlipping:init()
height = icon_size,
}
-- Re-use this widget to show an indicator when we are in select mode
icon_size = Screen:scaleBySize(36)
self.select_mode_widget = IconWidget:new{
icon = "format-quote-close",
icon = "texture-box",
width = icon_size,
height = icon_size,
alpha = true,

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" width="24" height="24" viewBox="2 4 26.00 28.00" enable-background="new 0 0 24.00 24.00" xml:space="preserve">
<path fill="#000000" fill-opacity="1" stroke-width="0.2" stroke-linejoin="round" d="M 18,6L 18,14L 16.0491,18L 11.8487,18L 13.7996,14L 12,14L 12,6L 18,6 Z M 17,13.7691L 17,7.00001L 13,7.00001L 13,13L 15.3999,13L 13.449,17L 15.4242,17L 17,13.7691 Z M 11,6L 11,14L 9.04907,18L 4.84866,18L 6.79959,14L 5,14L 5,6L 11,6 Z M 10,13.7691L 9.99999,7.00001L 5.99999,7.00001L 5.99999,13L 8.39992,13L 6.449,17L 8.4242,17L 10,13.7691 Z "/>
</svg>

Before

Width:  |  Height:  |  Size: 805 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20,2H4C2.9,2 2,2.9 2,4V20C2,21.11 2.9,22 4,22H20C21.11,22 22,21.11 22,20V4C22,2.9 21.11,2 20,2M4,6L6,4H10.9L4,10.9V6M4,13.7L13.7,4H18.6L4,18.6V13.7M20,18L18,20H13.1L20,13.1V18M20,10.3L10.3,20H5.4L20,5.4V10.3Z" /></svg>

After

Width:  |  Height:  |  Size: 288 B

Loading…
Cancel
Save