File tree Expand file tree Collapse file tree
library/src/main/java/de/markusressel/kodeeditor/library/view Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import android.text.Layout
1111import android.text.style.CharacterStyle
1212import android.util.AttributeSet
1313import android.util.Log
14- import android.util.TypedValue
1514import android.view.*
1615import android.widget.FrameLayout
1716import android.widget.TextView
@@ -232,15 +231,6 @@ constructor(
232231 */
233232 private var textSizeSp: Float = DEFAULT_TEXT_SIZE_SP
234233
235- /* *
236- * Text size in PX
237- */
238- private var textSizePx: Float
239- get() = TypedValue .applyDimension(TypedValue .COMPLEX_UNIT_SP , textSizeSp, context.resources.displayMetrics)
240- set(value) {
241- textSizeSp = value / resources.displayMetrics.scaledDensity
242- }
243-
244234 @ColorInt
245235 private var editorBackgroundColor: Int = 0
246236
You can’t perform that action at this time.
0 commit comments