Skip to content

Commit

Permalink
Timeline: hide superfluous drag-to-zoom button when zooming is disabl…
Browse files Browse the repository at this point in the history
…ed (#5096)

* Resolves Issue##11354

* Update screenshots

---------

Co-authored-by: alisman <[email protected]>
  • Loading branch information
FilledEther20 and alisman authored Jan 29, 2025
1 parent ed681f1 commit 7d2d54a
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/cbioportal-clinical-timeline/src/Timeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ const Timeline: React.FunctionComponent<ITimelineProps> = observer(function({
</button>
)}

{!store.zoomBounds && (
{!store.zoomBounds && disableZoom !== true && (
<span
onClick={() => {
store.setZoomBounds();
Expand Down

0 comments on commit 7d2d54a

Please sign in to comment.