v0.2.4: fixed a bug from 1.7.5 source with icon titles (should not assume they are on the top of the window)
This commit is contained in:
parent
d27adb3ec7
commit
c99f02bf66
|
@ -90,7 +90,7 @@ public class IconTitle extends Component {
|
|||
health.setRect( tfLabel.x, Math.max( tfLabel.y + tfLabel.height(), imIcon.y + imIcon.height() - health.height() ), tfLabel.maxWidth, 0 );
|
||||
height = health.bottom();
|
||||
} else {
|
||||
height = Math.max( imIcon.y + imIcon.height(), tfLabel.y + tfLabel.height() );
|
||||
height = Math.max( imIcon.height(), tfLabel.height() );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user