Changeset 1003:21efc7bbbbc2


Ignore:
Timestamp:
07/06/19 14:10:30 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

The fuel tank levels can be changed with the mouse wheel (re #347).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flight.py

    r1002 r1003  
    32573257        self._tankFigure.connect("button_press_event", self._buttonPressed)
    32583258        self._tankFigure.connect("motion_notify_event", self._motionNotify)
     3259
     3260        self._tankFigure.add_events(Gdk.EventMask.SCROLL_MASK)
    32593261        self._tankFigure.connect("scroll-event", self._scrolled)
    32603262
Note: See TracChangeset for help on using the changeset viewer.