Cycling74 / miraweb

MIT License
138 stars 14 forks source link

Int: Does not respect @mousefilter 1 #119

Open 1offby opened 6 years ago

1offby commented 6 years ago

Maybe Miraweb should allow an int to send value only after touch is released? I don't know.


----------begin_max5_patcher----------
560.3ocwVEsbpBCD8Y3qfIOacBfn16uRmNNAHZSKjvjDbrSm9u2jMDEqnEui
05CD3jMY28rmj0OBCP4hcTEJ5eQOEED7QXP..YAB59N.US1UTQTfYHhVKaYn
Ito3s0hVcEUCSF2g1PzEuv3aVIoEZ2lmlNaJdRTLNCFxv1gjjo3nm6Vjaezu
2Pcq.g1OUijpnbMQyD7A1y3X6.t6w9UYhMF+6glM7g7vjTr51ZehvJATQ9qO
DG6AqDEu0ewJ86UPzgPVfOCCsOlbWXtEKukDW5gs7Z4MF+b7F92g2LwSNU52
6sDImTS6MySwOOLolbdRMN0Qmy.43nH0IQnbBeSOxkHMAhlJWQ4jbWBFeINr
GW8H5TpwiP1RKWY4aVdqld3MUGG0QRVpnpkJV6g838irJAeyYoqirT8hPpGm
odVIcf4X7sLEyyFt4g5se3FW7ubk2fonqYUlH6GNk0IHV9KoG721XgRVbIQh
+7kABeptI8uS2LVQyesholIISWa28g0F3yKBlu.p9IP0Oa9Tr82by0DK6KEX
a3ByZpXGeI2QUyAJc66pjSJdaiTzxK2mw20NIt76J6j7CME5cN6zLO655K.9
DUw3e+Ol.ojE+XpQIZkE9H12.O5PVURUZFG5A1ynTmMCx9i1Q36jiRGged7F
3mr+q7wUvHMMaoRUmwfKLp1WEfBAtxyd2l6S3d.jjZO46reFfPjFMq1HXakN
cwt4yPtkJJoRtQz6NxX77mgeAHCUINE
-----------end_max5_patcher-----------
starakaj commented 5 years ago

Interesting! Is this a bug or an enhancement? Kind of both, I'd argue. It's more complicated than it seems—we probably want Miraweb to update the display of the integer box during drag, but we don't want it to actually send an update until touch end. That would be complicated to implement. This would be much easier if we simply updated the display in Miraweb (and not Max) until touch end.

1offby commented 5 years ago

Only Mira UI updating during finger scroll is an acceptable workaround. I don't know how this would work but, in cases where the number box is set to @mousefilter 1, is something like "set $1" during drag and then the final value without set on object release possible?