mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-26 21:35:49 +08:00
6 lines
195 B
Dart
6 lines
195 B
Dart
import 'package:PiliPlus/grpc/bilibili/app/archive/v1.pb.dart' show Dimension;
|
|
|
|
extension DimensionExt on Dimension {
|
|
bool get isVertical => rotate == .ONE ? width > height : height > width;
|
|
}
|