mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-21 23:30:00 +01:00
put reset midi events in menu, kick mistake in setup_samplebank
git-svn-id: svn://code.dyne.org/veejay/trunk@1208 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -7104,10 +7104,6 @@ void setup_samplebank(gint num_cols, gint num_rows, GtkWidget *pad, int *idx, in
|
||||
|
||||
float ratio = (float) info->el.height / (float) info->el.width;
|
||||
image_height = image_width * ratio;
|
||||
*idx = image_width;
|
||||
while( (image_width * ratio) > image_height )
|
||||
*idy = image_width * ratio;
|
||||
|
||||
|
||||
gfloat w = image_width;
|
||||
gfloat h = image_width * ratio;
|
||||
|
||||
Reference in New Issue
Block a user