mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Media::Player::Widget added instead of PlayerWidget.
New media player bar widget added. Switching between floating media player panel and media player widget. New volume controller.
This commit is contained in:
@@ -792,7 +792,7 @@ void MediaView::onDocClick() {
|
||||
if (_doc->loading()) {
|
||||
onSaveCancel();
|
||||
} else {
|
||||
DocumentOpenClickHandler::doOpen(_doc, ActionOnLoadNone);
|
||||
DocumentOpenClickHandler::doOpen(_doc, nullptr, ActionOnLoadNone);
|
||||
if (_doc->loading() && !_radial.animating()) {
|
||||
_radial.start(_doc->progress());
|
||||
}
|
||||
@@ -1477,7 +1477,7 @@ void MediaView::onVideoSeekFinished(int64 positionMs) {
|
||||
|
||||
void MediaView::onVideoVolumeChanged(float64 volume) {
|
||||
Global::SetVideoVolume(volume);
|
||||
emit audioPlayer()->videoVolumeChanged();
|
||||
Global::RefVideoVolumeChanged().notify();
|
||||
}
|
||||
|
||||
void MediaView::onVideoToggleFullScreen() {
|
||||
|
Reference in New Issue
Block a user