From b180f06c2a74af7ff9cf56033389dfbd66c9714e Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Tue, 28 Oct 2014 11:19:49 -0700 Subject: [PATCH] Fixed: cursor of CPTextField is not updated to default Previously, when changing the mode of the CPTextField from editable to non-editable, the cursor wasn't set to default. Now it does. --- AppKit/CPTextField.j | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AppKit/CPTextField.j b/AppKit/CPTextField.j index 6d93a002d..5f11f1d6e 100644 --- a/AppKit/CPTextField.j +++ b/AppKit/CPTextField.j @@ -1146,6 +1146,12 @@ CPTextFieldStatePlaceholder = CPThemeState("placeholder"); { #if PLATFORM(DOM) self._DOMElement.style.cursor = "text"; +#endif + } + else + { +#if PLATFORM(DOM) + self._DOMElement.style.cursor = "default"; #endif } }