Skip to content

Commit

Permalink
TabImageのスケーリング処理の位置を移動 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
upsilon committed Feb 11, 2015
1 parent 845eb5d commit ccb3241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenTween/Tween.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5383,11 +5383,11 @@ protected override void ScaleControl(SizeF factor, BoundsSpecified specified)
{
base.ScaleControl(factor, specified);

ScaleChildControl(this.TabImage, factor);

var tabpages = this.ListTab.TabPages.Cast<TabPage>();
var listviews = tabpages.Select(x => x.Tag).Cast<ListView>();

ScaleChildControl(this.TabImage, factor);

foreach (var listview in listviews)
{
ScaleChildControl(listview, factor);
Expand Down

0 comments on commit ccb3241

Please sign in to comment.