Skip to content

Enable scroll in histogram view and curve editor histogram#246

Open
darkowlzz wants to merge 1 commit intolinuxmint:masterfrom
darkowlzz:histogram-event-scroll-mask
Open

Enable scroll in histogram view and curve editor histogram#246
darkowlzz wants to merge 1 commit intolinuxmint:masterfrom
darkowlzz:histogram-event-scroll-mask

Conversation

@darkowlzz
Copy link

Both GthHistogramView and GthCurveEditor have histograms with event handler code for scroll-event signal to switch the channels but the widgets are missing the GDK_SCROLL_MASK bit for events, resulting in no scroll support. The event handlers already exist. Adding the mask bit makes the event handlers effective.

If scrolling over the histograms channels were intentionally disabled, I can update the code to remove the event handlers.

I noticed this while trying to figure out how to add smooth scroll (touch pad) support in the browser/image-viewer. Only scrolling with mouse-wheel is supported at present, which requires an external mouse on a laptop. I'll submit a separate change for that once it's ready.

Both GthHistogramView and GthCurveEditor have histograms with event
handler code for scroll-event but the widgets are missing the
GDK_SCROLL_MASK bit for events, resulting in no scroll support. The
event handlers already exist. Adding the mask bit makes the event
handlers effective.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant