mirror of https://github.com/odrling/Aegisub
Alt+Click on grid will activate the clicked line, without modifying selection
Originally committed to SVN as r103.
This commit is contained in:
parent
aa6ef96527
commit
71b93a3379
|
@ -538,7 +538,7 @@ void BaseGrid::OnMouseEvent(wxMouseEvent &event) {
|
||||||
// Click
|
// Click
|
||||||
if ((click || holding) && validRow) {
|
if ((click || holding) && validRow) {
|
||||||
// Toggle selected
|
// Toggle selected
|
||||||
if (click && ctrl && !shift) {
|
if (click && ctrl && !shift && !alt) {
|
||||||
SelectRow(row,true,!IsInSelection(row,0));
|
SelectRow(row,true,!IsInSelection(row,0));
|
||||||
parentFrame->UpdateToolbar();
|
parentFrame->UpdateToolbar();
|
||||||
return;
|
return;
|
||||||
|
@ -553,8 +553,14 @@ void BaseGrid::OnMouseEvent(wxMouseEvent &event) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Keep selection
|
||||||
|
if (click && !shift && !ctrl && alt) {
|
||||||
|
editBox->SetToLine(row);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Block select
|
// Block select
|
||||||
if ((click && shift && !ctrl) || (holding)) {
|
if ((click && shift && !ctrl && !alt) || (holding)) {
|
||||||
if (lastRow != -1) {
|
if (lastRow != -1) {
|
||||||
// Set boundaries
|
// Set boundaries
|
||||||
int i1 = row;
|
int i1 = row;
|
||||||
|
|
|
@ -27,6 +27,7 @@ Please visit http://aegisub.net to download latest version
|
||||||
o Selected comments are now highlighted in a different color.
|
o Selected comments are now highlighted in a different color.
|
||||||
o Fixed behavior of deleting and joining lines on grid.
|
o Fixed behavior of deleting and joining lines on grid.
|
||||||
o Inserted lines will now be automatically selected.
|
o Inserted lines will now be automatically selected.
|
||||||
|
o Alt+Click on grid will activate the clicked line, without modifying selection.
|
||||||
- Toolbar will now properly disable the Jump To buttons if more than one line is selected. (AMZ)
|
- Toolbar will now properly disable the Jump To buttons if more than one line is selected. (AMZ)
|
||||||
- Fixed the toolbar "grey area" glitch (was actually a wxWidgets issue). (AMZ)
|
- Fixed the toolbar "grey area" glitch (was actually a wxWidgets issue). (AMZ)
|
||||||
- Default video zoom can now be set in config.dat and is defaulted to 100%. (AMZ)
|
- Default video zoom can now be set in config.dat and is defaulted to 100%. (AMZ)
|
||||||
|
|
Loading…
Reference in New Issue