mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Disable some needless logging
This commit is contained in:
parent
c5cb5efabd
commit
a668a3c801
@ -126,8 +126,8 @@ internal data class SavedKeyboardState(
|
|||||||
class KeyboardState(private val switchActions: SwitchActions) {
|
class KeyboardState(private val switchActions: SwitchActions) {
|
||||||
companion object {
|
companion object {
|
||||||
private const val TAG = "KeyboardState"
|
private const val TAG = "KeyboardState"
|
||||||
private const val DEBUG_EVENT = true
|
private const val DEBUG_EVENT = false
|
||||||
private const val DEBUG_INTERNAL_ACTION = true
|
private const val DEBUG_INTERNAL_ACTION = false
|
||||||
}
|
}
|
||||||
|
|
||||||
private val shiftKeyState = ShiftKeyState("Shift")
|
private val shiftKeyState = ShiftKeyState("Shift")
|
||||||
|
@ -317,7 +317,6 @@ class KeyboardSizingCalculator(val context: Context, val uixManager: UixManager)
|
|||||||
val effectiveRowCount = layout.effectiveRows.size
|
val effectiveRowCount = layout.effectiveRows.size
|
||||||
|
|
||||||
val displayMetrics = context.resources.displayMetrics
|
val displayMetrics = context.resources.displayMetrics
|
||||||
println("Display metrics ${displayMetrics.widthPixels / displayMetrics.density}")
|
|
||||||
|
|
||||||
val singularRowHeight = (ResourceUtils.getDefaultKeyboardHeight(context.resources) / 4.0) *
|
val singularRowHeight = (ResourceUtils.getDefaultKeyboardHeight(context.resources) / 4.0) *
|
||||||
savedSettings.heightMultiplier
|
savedSettings.heightMultiplier
|
||||||
|
Loading…
Reference in New Issue
Block a user