forked from mia/Aegisub
Middle clicking the video seek bar and audio display will now focus them.
Originally committed to SVN as r201.
This commit is contained in:
parent
ae1ab04215
commit
e249381e31
3 changed files with 7 additions and 10 deletions
|
@ -1183,12 +1183,9 @@ void AudioDisplay::OnMouseEvent(wxMouseEvent& event) {
|
|||
dc.EndDrawing();
|
||||
}
|
||||
|
||||
// Left click
|
||||
if (event.ButtonDown(wxMOUSE_BTN_LEFT)) {
|
||||
//if (wxWindow::FindFocus() != this) {
|
||||
SetFocus();
|
||||
//return;
|
||||
//}
|
||||
// Left/middle click
|
||||
if (event.ButtonDown(wxMOUSE_BTN_LEFT) || event.Button(wxMOUSE_BTN_MIDDLE)) {
|
||||
SetFocus();
|
||||
}
|
||||
|
||||
// Right click
|
||||
|
|
|
@ -56,6 +56,7 @@ Please visit http://aegisub.net to download latest version
|
|||
- Dragging timecode files into the Aegisub window will now work as expected (instead of attempting to load it as subtitles). (AMZ)
|
||||
- Added option ("keep raw dialogue data", default false) that makes Aegisub use less RAM at a small performance cost when set to false. (AMZ)
|
||||
- The line timing extending in timing post-processor is now governed by the "timing processor adjascent bias" option (1.0 [default] = move end, 0.0 = move start, 0.5 = move to halfway point, etc) (AMZ)
|
||||
- Middle clicking the video seek bar and audio display will now focus them. (AMZ)
|
||||
|
||||
|
||||
= 1.09 beta - 2006.01.16 ===========================
|
||||
|
|
|
@ -228,10 +228,9 @@ void VideoSlider::OnMouse(wxMouseEvent &event) {
|
|||
SetFocus();
|
||||
}
|
||||
|
||||
// Right click
|
||||
if (event.ButtonDown(wxMOUSE_BTN_RIGHT)) {
|
||||
if (wxWindow::FindFocus() != this) SetFocus();
|
||||
else event.Skip();
|
||||
// Right/middle click
|
||||
if (event.ButtonDown(wxMOUSE_BTN_RIGHT) || event.ButtonDown(wxMOUSE_BTN_MIDDLE)) {
|
||||
SetFocus();
|
||||
}
|
||||
|
||||
// Something else
|
||||
|
|
Loading…
Reference in a new issue