Merge branch 'misc' into feature
This commit is contained in:
commit
7f7f5c8385
1 changed files with 1 additions and 3 deletions
|
@ -342,9 +342,7 @@ struct video_frame_copy_subs final : public validator_video_loaded {
|
||||||
STR_HELP("Copy the currently displayed subtitles to the clipboard, with transparent background")
|
STR_HELP("Copy the currently displayed subtitles to the clipboard, with transparent background")
|
||||||
|
|
||||||
void operator()(agi::Context *c) override {
|
void operator()(agi::Context *c) override {
|
||||||
wxBitmap img(get_image(c, false, true));
|
SetClipboard(wxBitmap(get_image(c, false, true), 32));
|
||||||
img.UseAlpha();
|
|
||||||
SetClipboard(img);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue