From f568d196a5bbf12726261afdfb92a40e0e0e4c8b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 19 Feb 2023 21:19:15 +0100 Subject: Remove scrolling in AudioMappingView. In the audio panel it was a bit weird to have part of the panel scrollable when the whole video panel is. Now both video and audio panels scroll. You lose the "always there" view of the audio processing summary but I think this is outweighed by the scrolling simplicity. I also suspect it may make things behave better on "short" screens. --- src/wx/audio_mapping_view.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/wx/audio_mapping_view.h') diff --git a/src/wx/audio_mapping_view.h b/src/wx/audio_mapping_view.h index 70a226392..8c1a2d8ba 100644 --- a/src/wx/audio_mapping_view.h +++ b/src/wx/audio_mapping_view.h @@ -86,11 +86,9 @@ private: void paint_row_lines (wxDC& dc); void paint_indicators (wxDC& dc); void size (wxSizeEvent &); - void scroll (); void left_down (wxMouseEvent &); void right_down (wxMouseEvent &); void motion (wxMouseEvent &); - void mouse_wheel (wxMouseEvent &); boost::optional> mouse_event_to_channels (wxMouseEvent& ev) const; boost::optional mouse_event_to_input_group_name (wxMouseEvent& ev) const; void setup (); @@ -102,9 +100,6 @@ private: AudioMapping _map; wxMenu* _menu = nullptr; - wxPanel* _body = nullptr; - wxScrollBar* _vertical_scroll = nullptr; - wxScrollBar* _horizontal_scroll = nullptr; int _menu_input; int _menu_output; -- cgit v1.2.3