Don't reset zoom on video seek.
This commit is contained in:
		
							parent
							
								
									5a7fcc3a22
								
							
						
					
					
						commit
						92332b45ea
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -90,7 +90,6 @@ private: | |||
| 	crl::time _pausedTime = kTimeUnknown; | ||||
| 	crl::time _resumedTime = kTimeUnknown; | ||||
| 	mutable TimePoint _syncTimePoint; | ||||
| 	mutable crl::time _previousFramePosition = kTimeUnknown; | ||||
| 	crl::time _framePositionShift = 0; | ||||
| 	crl::time _nextFrameDisplayTime = kTimeUnknown; | ||||
| 	rpl::event_stream<crl::time> _nextFrameTimeUpdates; | ||||
|  |  | |||
|  | @ -1933,7 +1933,7 @@ void OverlayWidget::streamingReady(Streaming::Information &&info) { | |||
| 	validateStreamedGoodThumbnail(); | ||||
| 	if (videoShown()) { | ||||
| 		const auto contentSize = ConvertScale(videoSize()); | ||||
| 		if (_w != contentSize.width() || _h != contentSize.height()) { | ||||
| 		if (contentSize != QSize(_width, _height)) { | ||||
| 			update(contentRect()); | ||||
| 			_w = contentSize.width(); | ||||
| 			_h = contentSize.height(); | ||||
|  | @ -3489,6 +3489,7 @@ void OverlayWidget::setVisibleHook(bool visible) { | |||
| 		// before it is hidden without the child widget.
 | ||||
| 		if (!isHidden() && _streamed) { | ||||
| 			_streamed->controls.hide(); | ||||
| 			_dropdown->hideFast(); | ||||
| 			_wasRepainted = false; | ||||
| 			repaint(); | ||||
| 			if (!_wasRepainted) { | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 John Preston
						John Preston