Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 06d04ed

Browse files
committed
[[ Bug 21484 ]] Allow scroll wheel to work in PI text fields
Remove automatic select changes to split to another PR.
1 parent ab86207 commit 06d04ed

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

Toolset/palettes/inspector/behaviors/revinspectoreditorbehavior.livecodescript

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,6 @@ getProp editorExpandVertical
303303
return sExpandVertical
304304
end editorExpandVertical
305305

306-
after openField
307-
select the text of the target
308-
end openField
309-
310306
on rawKeyDown pKeyNum
311307
-- allow scroll wheel, pgup, & pgdn to scroll the text field
312308
-- bubble up to the parent if at either limit

Toolset/palettes/inspector/editors/com.livecode.pi.customprops.behavior.livecodescript

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ on editorUpdate
6969
if the result is empty then
7070
put tKey into field "value" of me
7171
put item -1 of tPath into field "key" of me
72-
select the text of field "key" of me
7372
else
7473
put empty into field "key" of me
7574
put empty into field "value" of me

notes/bugfix-21484.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
# Allow scroll wheel to work in PI text fields
2-
3-
# Automatically select text of fields in PI
1+
# Allow scroll wheel to work in PI text fields

0 commit comments

Comments
 (0)