mirror of https://github.com/NekoX-Dev/NekoX.git
try fix storage path width
This commit is contained in:
parent
c71f3240a3
commit
e8accc449d
|
@ -708,6 +708,7 @@ public class AnimatedTextView extends View {
|
||||||
int height = MeasureSpec.getSize(heightMeasureSpec);
|
int height = MeasureSpec.getSize(heightMeasureSpec);
|
||||||
if (lastMaxWidth != width) {
|
if (lastMaxWidth != width) {
|
||||||
drawable.setBounds(getPaddingLeft(), getPaddingTop(), width - getPaddingRight(), height - getPaddingBottom());
|
drawable.setBounds(getPaddingLeft(), getPaddingTop(), width - getPaddingRight(), height - getPaddingBottom());
|
||||||
|
lastMaxWidth = width;
|
||||||
setText(drawable.getText(), false);
|
setText(drawable.getText(), false);
|
||||||
}
|
}
|
||||||
lastMaxWidth = width;
|
lastMaxWidth = width;
|
||||||
|
|
Loading…
Reference in New Issue