kivy: share with qr code on double tap
This commit is contained in:
@@ -35,9 +35,10 @@ ReceiveScreen:
|
||||
width: min(self.height, bl.width)
|
||||
pos_hint: {'center': (.5, .5)}
|
||||
shaded: False
|
||||
foreground_color: (0, 0, 0, 0.5) if self.shaded else (0, 0, 0, 0)
|
||||
on_touch_down:
|
||||
self.shaded = not self.shaded
|
||||
self.foreground_color = (0, 0, 0, 0.5) if self.shaded else (0, 0, 0, 0)
|
||||
touch = args[1]
|
||||
if self.collide_point(*touch.pos): self.shaded = not self.shaded
|
||||
Label:
|
||||
text: root.status
|
||||
opacity: 1 if root.status else 0
|
||||
@@ -52,7 +53,6 @@ ReceiveScreen:
|
||||
pos: self.pos
|
||||
size: self.size
|
||||
|
||||
|
||||
SendReceiveBlueBottom:
|
||||
id: blue_bottom
|
||||
size_hint: 1, None
|
||||
|
||||
Reference in New Issue
Block a user