Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Aayush
purr-data
Commits
5a2e1cd5
Commit
5a2e1cd5
authored
Sep 15, 2014
by
pokergaming
Browse files
fixed joc regression with arrays > 2000 elements
fixed bug with 8x8 click "hotspot" not working correctly on x-axis of garrays
parent
1df4908a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_array.c
View file @
5a2e1cd5
...
...
@@ -1093,7 +1093,7 @@ int array_doclick(t_array *array, t_glist *glist, t_scalar *sc, t_array *ap,
// all_about_arrays.pd inside custom scalars in an array
if
(
pwpix
<
8
)
pwpix
=
8
;
if
(
xpix
>=
(
int
)
pxpix1
&&
xpix
<=
(
int
)
pxpix2
&&
if
(
xpix
>=
(
int
)
pxpix1
-
pwpix
&&
xpix
<=
(
int
)
pxpix2
+
pwpix
&&
((
array_joc
)
||
(
ypix
>=
pypix
-
pwpix
&&
ypix
<=
pypix
+
pwpix
)))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment