Make annotations resizable.

This commit is contained in:
Bartosz Taudul
2020-08-04 17:23:12 +02:00
parent f589fba274
commit a5c16a39ba
2 changed files with 10 additions and 1 deletions

View File

@@ -187,6 +187,7 @@ void UserData::LoadAnnotations( std::vector<std::unique_ptr<Annotation>>& data )
fread( &ann->range.min, 1, sizeof( ann->range.min ), f );
fread( &ann->range.max, 1, sizeof( ann->range.max ), f );
fread( &ann->color, 1, sizeof( ann->color ), f );
ann->range.active = true;
data.emplace_back( std::move( ann ) );
}