mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Simplify by removing class HitTestResult...
... Because all hit tests returned all fields blank, or else, returned a UIHandle object whose Preview method gives the rest of the information; so the other fields were redundant.
This commit is contained in:
@@ -765,7 +765,7 @@ namespace {
|
||||
// Fetch the highlighting state
|
||||
auto target = GetActiveProject()->GetTrackPanel()->Target();
|
||||
if (target) {
|
||||
auto handle = dynamic_cast<LabelGlyphHandle*>( target->handle.get() );
|
||||
auto handle = dynamic_cast<LabelGlyphHandle*>( target.get() );
|
||||
if (handle)
|
||||
return &handle->mHit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user