Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
2e40ee82
Commit
2e40ee82
authored
16 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
Fix for RT ticket #66832. Possibly future issue with deferred loading.
parent
bbb22d8c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/zmapWindow/zmapWindowDrawFeatures.c
+18
-5
18 additions, 5 deletions
src/zmapWindow/zmapWindowDrawFeatures.c
with
18 additions
and
5 deletions
src/zmapWindow/zmapWindowDrawFeatures.c
+
18
−
5
View file @
2e40ee82
...
...
@@ -26,9 +26,9 @@
*
* Exported functions:
* HISTORY:
* Last edited:
Jul 14 09
:0
9
2008 (
edgrif
)
* Last edited:
Sep 3 11
:0
2
2008 (
rds
)
* Created: Thu Jul 29 10:45:00 2004 (rnc)
* CVS info: $Id: zmapWindowDrawFeatures.c,v 1.20
7
2008-0
7-18 07:53:40 edgrif
Exp $
* CVS info: $Id: zmapWindowDrawFeatures.c,v 1.20
8
2008-0
9-03 10:05:49 rds
Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -588,11 +588,20 @@ void zmapWindowDrawFeatureSet(ZMapWindow window,
* context... */
if
((
overlap_mode
=
zMapStyleGetOverlapMode
(
view_feature_set
->
style
))
!=
ZMAPOVERLAP_COMPLETE
)
{
/* Changed zmapWindowColumnBump to zmapWindowColumnBumpRange to fix RT#66832 */
/* The problem was objects outside of the mark were being hidden as ColumnBump
* respects the mark if there is one. This is probably _not_ the right thing
* to do here. However, this might need some re-evaluation... */
/* The main reason I think we will fall down here is when we have deferred
* loading. If we are loading a set of alignments within the marked area,
* then if the default display is to bump these and there are other aligns
* already loaded in this column a COMPRESS_ALL will bump the whole column
* _not_ just the newly loaded ones... */
if
(
forward_col_wcp
)
zmapWindowColumnBump
(
FOO_CANVAS_ITEM
(
forward_col_wcp
),
overlap_mode
)
;
zmapWindowColumnBump
Range
(
FOO_CANVAS_ITEM
(
forward_col_wcp
),
overlap_mode
,
ZMAPWWINDOW_COMPRESS_ALL
)
;
if
(
reverse_col_wcp
)
zmapWindowColumnBump
(
FOO_CANVAS_ITEM
(
reverse_col_wcp
),
overlap_mode
)
;
zmapWindowColumnBump
Range
(
FOO_CANVAS_ITEM
(
reverse_col_wcp
),
overlap_mode
,
ZMAPWWINDOW_COMPRESS_ALL
)
;
}
}
...
...
@@ -628,8 +637,12 @@ void zmapWindowRemoveEmptyColumns(ZMapWindow window,
gboolean
zmapWindowRemoveIfEmptyCol
(
FooCanvasGroup
**
col_group
)
{
gboolean
removed
=
FALSE
;
ZMapWindowItemFeatureSetData
set_data
;
if
(
!
zmapWindowContainerHasFeatures
(
*
col_group
))
set_data
=
zmapWindowContainerGetData
(
*
col_group
,
ITEM_FEATURE_SET_DATA
);
if
((
!
zmapWindowContainerHasFeatures
(
*
col_group
))
&&
((
!
set_data
)
||
(
set_data
&&
!
zMapStyleGetShowWhenEmpty
(
set_data
->
style
))))
{
zmapWindowContainerDestroy
(
*
col_group
)
;
*
col_group
=
NULL
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment