You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mobile/android/air/SubModules/UIComponents/src/main/java/org/mytonwallet/app_air/uicomponents/widgets/WFloatingHintEditText.kt
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ open class WFloatingHintEditText @JvmOverloads constructor(
98
98
onDrawHint(
99
99
canvas = canvas,
100
100
hintX = floatingHintDrawState.x,
101
-
contextX = floatingHintDrawState.contextX,
101
+
contextX = floatingHintDrawState.contentX,
102
102
hintY = floatingHintDrawState.y,
103
103
hintLayout = floatingHintDrawState.hintLayout
104
104
)
@@ -182,12 +182,12 @@ open class WFloatingHintEditText @JvmOverloads constructor(
182
182
else-> contentTop
183
183
}.toFloat()
184
184
185
-
varcontextX:Float= layout.width.toFloat()
185
+
varcontentX:Float= layout.width.toFloat()
186
186
for (i in0 until layout.lineCount) {
187
-
contextX= min(contextX, layout.getLineLeft(i))
187
+
contentX= min(contentX, layout.getLineLeft(i))
188
188
}
189
189
190
-
returnFloatingHintDrawState(hintLayout = layout, x = x, contextX=contextX, y = y).also {
190
+
returnFloatingHintDrawState(hintLayout = layout, x = x, contentX=contentX, y = y).also {
191
191
floatingHintDrawState = it
192
192
}
193
193
}
@@ -271,7 +271,7 @@ open class WFloatingHintEditText @JvmOverloads constructor(
0 commit comments