mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
Use "By Rows" as the default sprite sheet type in Export Sprite Sheet
This commit is contained in:
parent
3bb4ab4a75
commit
a74cec6369
@ -308,8 +308,14 @@ public:
|
||||
sheetType()->addItem(Strings::export_sprite_sheet_type_rows());
|
||||
sheetType()->addItem(Strings::export_sprite_sheet_type_cols());
|
||||
sheetType()->addItem(Strings::export_sprite_sheet_type_pack());
|
||||
if (params.type() != app::SpriteSheetType::None)
|
||||
sheetType()->setSelectedItemIndex((int)params.type()-1);
|
||||
{
|
||||
int i;
|
||||
if (params.type() != app::SpriteSheetType::None)
|
||||
i = (int)params.type()-1;
|
||||
else
|
||||
i = ((int)app::SpriteSheetType::Rows)-1;
|
||||
sheetType()->setSelectedItemIndex(i);
|
||||
}
|
||||
|
||||
constraintType()->addItem(Strings::export_sprite_sheet_constraint_fixed_none());
|
||||
constraintType()->addItem(Strings::export_sprite_sheet_constraint_fixed_cols());
|
||||
|
Loading…
Reference in New Issue
Block a user