diff --git a/src/main/scala/li/cil/oc/common/component/TextBuffer.scala b/src/main/scala/li/cil/oc/common/component/TextBuffer.scala index c8e656755d..449e07c51b 100644 --- a/src/main/scala/li/cil/oc/common/component/TextBuffer.scala +++ b/src/main/scala/li/cil/oc/common/component/TextBuffer.scala @@ -229,9 +229,9 @@ class TextBuffer(val host: EnvironmentHost) extends AbstractManagedEnvironment w @Callback(doc = """function(enabled:boolean):boolean -- Set whether to use high precision mode (sub-pixel mouse event positions).""") def setPrecise(computer: Context, args: Arguments): Array[AnyRef] = { - // Available for T3 screens only... easiest way to check for us is to + // Available for T3+ screens only... easiest way to check for us is to // base it off of the maximum color depth. - if (maxDepth == Settings.screenDepthsByTier(Tier.Four)) { + if (maxDepth.compareTo(Settings.screenDepthsByTier(Tier.Three)) >= 0) { val oldValue = precisionMode precisionMode = args.checkBoolean(0) result(oldValue)