summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-12-08 13:43:47 -0500
committerLeon Scroggins <scroggo@google.com>2009-12-08 14:15:25 -0500
commit6be3bf2393030549306b438b9b17085035729135 (patch)
treea3dca0dc433c3b6b5a59a87fc3e73e3c0bdbe0e5 /libs/rs/rsg_ScriptJavaClass.cpp
parentf7d0b01387c10f93bf17981d45087810c80f0902 (diff)
Some fixes for positioning the WebTextView.
Move the change in position/size before the call to bring into view, so that the properly positioned field will be brought into view. It is also now before we check to see if it is the same textfield, so it happens in both cases. Also remove some code which checks the selection and then sets it unnecessarily. It was originally surrounding some code which called setRect, which had a side-effect of changing the selection. That code was removed (rendering the remaining code useless), and setRect no longer has the side effect (the side effect was a result of calling reqestFocus, which it no longer does - further, the change in selection from requestFocus no longer affects the textfield's text).
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions