Skip to content

Commit 94b5ce3

Browse files
author
kritsu
committed
1.7.0.1 update
1 parent 19d4a20 commit 94b5ce3

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

ExtractorSharp.Core/Model/Album.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ public void Replace(Album album) {
149149
album = album.Clone();
150150
Version = album.Version;
151151
Tables = album.Tables;
152+
TableIndex = album.TableIndex;
152153
Handler = album.Handler;
153154
Handler.Album = this;
154155
List.Clear();
@@ -182,6 +183,8 @@ public void AdjustIndex() {
182183
public void Hide() {
183184
var count = List.Count;
184185
List.Clear();
186+
Tables = new List<List<Color>> { new List<Color>() };
187+
TableIndex = 0;
185188
ConvertTo(Img_Version.Ver2);
186189
NewImage(count, ColorBits.LINK, -1);
187190
}

ExtractorSharp/MainForm.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,9 @@ private void BeforeDraw(object sender, LayerEventArgs e) {
406406
if (dyeBox.Checked) {
407407
pictrue = pictrue.Dye(Drawer.Color);
408408
}
409+
var size = entity.Size;
410+
size = size.Star(Drawer.ImageScale);
411+
Drawer.CurrentLayer.Size = size;
409412
Drawer.CurrentLayer.Image = pictrue;//校正贴图
410413
}
411414
}

ExtractorSharp/Resources/chinese.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"AllImg": "所有IMG",
1515
"CheckImage": "当前所选贴图",
1616
"AllImage": "所有贴图",
17+
"AllFormat": "所有格式",
1718
"ImageResources": "图片资源",
1819
"SoundResources": "音效资源",
1920
"Width": "",

0 commit comments

Comments
 (0)