diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-18 21:09:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-19 12:01:54 +0100 |
commit | 6f938dce6eaa927cfde39491ef7a0bc1d07df66b (patch) | |
tree | c866f70da6f4d1f4a47c5bb871fd98aaaf2cc994 /svx/inc/sdr | |
parent | f10ac3e5bd720e363e5c76a2c841dded4859a7a0 (diff) |
update video pos and size after change if currently playing
I'd prefer if it changed size during the resizing/repositioning, but
at least make it immediately take the final size after the
resize/reposition has happened.
Change-Id: Ic3b4dd23921ad5cf6092f1514dd6538f9946998a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130178
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/inc/sdr')
-rw-r--r-- | svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx b/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx index 21fbed38142c..d362048df3db 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx @@ -51,7 +51,11 @@ namespace sdr::contact void updateMediaItem( ::avmedia::MediaItem& rItem ) const; void executeMediaItem( const ::avmedia::MediaItem& rItem ); + virtual void ActionChanged() override; + private: + void updateMediaWindow() const; + #if HAVE_FEATURE_AVMEDIA std::unique_ptr<sdr::contact::SdrMediaWindow> mpMediaWindow; #endif |