Page 1 of 1

Reduce Jerkiness of Dragging objects in iOS? - Solved

Posted: Thu Jun 06, 2019 11:33 am
by DR White
How can I reduce the jerkiness of dragging objects?

Re: Reduce Jerkiness of Dragging objects in iOS?

Posted: Thu Jun 06, 2019 12:44 pm
by bogs
I dunno, DR White, it works smoothly on my desktop and I don't have mobile devices to test with.

You could try adding lock / unlock screen to the snippet and see if that alleviates some of the jerkiness, or lockScreen,

Code: Select all

on mouseDown pButtonNumber
   lock screen
   grab me
   unlock screen
end mouseDown

Re: Reduce Jerkiness of Dragging objects in iOS?

Posted: Thu Jun 06, 2019 7:29 pm
by DR White
bogs,

Using Lock/unlock screen doesn't help in mobile.

I am sure that there must be some way to make it move smooth in mobile.

Thanks,

David

Re: Reduce Jerkiness of Dragging objects in iOS?

Posted: Thu Jun 06, 2019 8:13 pm
by bogs
Huh, the dictionary says it works on mobile.
Dictionary wrote: lock screen
type
command
syntax

lock screen [for visual effect [in rect[angle] rectString]]

summary
Sets the lockScreen property to true, temporarily preventing the screen from being updated.
introduced
1.0
OS
mac, windows, linux, ios, android
platforms
desktop, server, mobile
Hmmm. Well, if it doesn't, hopefully someone that does mobile will show up shortly.

Re: Reduce Jerkiness of Dragging objects in iOS?

Posted: Thu Jun 06, 2019 10:08 pm
by DR White
Bogs,

It does work on mobile. I have used many times and does a great job preventing screen update, until all the screen changes have been made. But, it does not help the jerkiness when using "grab me" in mobile.

Re: Reduce Jerkiness of Dragging objects in iOS? - Solved

Posted: Fri Jun 07, 2019 2:59 am
by DR White
I am SORRY!

The Jerkiness is only seen when I test the app on the Simulator. When I actually downloaded it to my phone it works fine.

Again sorry to bother you,

David