fixed a bug where moving a layer to trash would swap it and remove the swapped one instead if the maximum ui height was exceeded with layers
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
//globals
|
||||
uptime = 116880661
|
||||
uptime = 116912351
|
||||
|
||||
18
manglr2.pde
18
manglr2.pde
@@ -119,3 +119,21 @@ void snapshot() {
|
||||
println("Rendered " + frameName + ".png at " + dataPath("")+"/snapshots/ with a resolution of " + renderer.width + " x " + renderer.height);
|
||||
saveStrings(dataPath("saves.sav"), saveData);
|
||||
}
|
||||
|
||||
void mousePressed()
|
||||
{
|
||||
if (mouseButton == LEFT) {
|
||||
if (sourceManager.dir != null) {
|
||||
sourceManager.importURI(sourceManager.dir + "/" + sourceManager.selection[(int)random(sourceManager.selection.length)]);
|
||||
}
|
||||
}
|
||||
if (mouseButton == RIGHT) {
|
||||
snapshot();
|
||||
}
|
||||
}
|
||||
void mouseWheel(MouseEvent event) {
|
||||
|
||||
if (event.getCount() < 0) renderSize += 8;
|
||||
else renderSize -= 8;
|
||||
renderSize = constrain(renderSize, 8, 15000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user