mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 06:06:57 +02:00
The zoomed image was not properly scaled after screen rotation
This commit is contained in:
@@ -802,6 +802,7 @@ NSString *const kCmdResetUserPowerLevel = @"/deop";
|
||||
[tap setNumberOfTapsRequired:1];
|
||||
[highResImage addGestureRecognizer:tap];
|
||||
highResImage.userInteractionEnabled = YES;
|
||||
highResImage.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleTopMargin;
|
||||
}
|
||||
} else if (msgtype == RoomMessageTypeVideo) {
|
||||
NSString *url =content[@"url"];
|
||||
|
||||
Reference in New Issue
Block a user