select all
This commit is contained in:
parent
52f9df3c4d
commit
94406eef23
@ -93,6 +93,14 @@ class Painter(Widget):
|
||||
self.selected=[]
|
||||
self.draw()
|
||||
|
||||
# select all
|
||||
elif keycode[1]=="a":
|
||||
for particle in self.particles:
|
||||
particle.selected=True
|
||||
self.selected=self.particles.copy()
|
||||
self.unselected=[]
|
||||
self.draw()
|
||||
|
||||
def on_key_up(self, keyboard, keycode):
|
||||
if keycode[1]=="shift":
|
||||
if 's' in self.modifiers:
|
||||
|
Loading…
Reference in New Issue
Block a user