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
nerrons
purr-data
Commits
41d2bc7f
Commit
41d2bc7f
authored
Oct 04, 2012
by
Ivica Ico Bukvic
Browse files
fixed bug where contents were not properly reselected after being changed
parent
d7697763
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/g_array.c
View file @
41d2bc7f
...
...
@@ -770,6 +770,7 @@ static int array_doclick_element(t_array *array, t_glist *glist,
t_fielddesc
*
xfield
,
t_fielddesc
*
yfield
,
t_fielddesc
*
wfield
,
int
xpix
,
int
ypix
,
int
shift
,
int
alt
,
int
dbl
,
int
doit
)
{
//fprintf(stderr,"array_doclick_element %d\n", doit);
t_canvas
*
elemtemplatecanvas
;
t_template
*
elemtemplate
;
int
elemsize
,
yonset
,
wonset
,
xonset
,
i
,
incr
,
hit
;
...
...
@@ -813,6 +814,7 @@ int array_doclick(t_array *array, t_glist *glist, t_scalar *sc, t_array *ap,
t_fielddesc
*
xfield
,
t_fielddesc
*
yfield
,
t_fielddesc
*
wfield
,
int
xpix
,
int
ypix
,
int
shift
,
int
alt
,
int
dbl
,
int
doit
)
{
//fprintf(stderr,"array_doclick %d\n", doit);
t_canvas
*
elemtemplatecanvas
;
t_template
*
elemtemplate
;
int
elemsize
,
yonset
,
wonset
,
xonset
,
i
;
...
...
@@ -1146,6 +1148,10 @@ static void garray_doredraw(t_gobj *client, t_glist *glist)
garray_vis
(
&
x
->
x_gobj
,
x
->
x_glist
,
0
);
garray_vis
(
&
x
->
x_gobj
,
x
->
x_glist
,
1
);
}
if
(
glist_isselected
(
glist_getcanvas
(
glist
),
(
t_gobj
*
)
glist
))
{
//fprintf(stderr,"yes\n");
sys_vgui
(
"pdtk_select_all_gop_widgets .x%lx %lx %d
\n
"
,
glist_getcanvas
(
glist
),
glist
,
1
);
}
}
void
garray_redraw
(
t_garray
*
x
)
...
...
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