Feature Request: Add a stop button to MOAP hover controls

Also raise up the speaker button two pixels so it doesn't look so bad.
This commit is contained in:
Lirusaito
2019-01-19 10:03:21 -05:00
parent 74af7dc80e
commit edb6c0e8e9
3 changed files with 26 additions and 1 deletions

View File

@@ -398,7 +398,7 @@
scale_image="false"
tool_tip="Mute This Media"
left_delta="5"
bottom="-22"
bottom="-20"
draw_border="true"
height="20"
width="22" >
@@ -429,6 +429,26 @@
function="MediaCtrl.HideVolumeSlider" />
</slider>
</layout_panel>
<layout_panel
name="moap_stop"
mouse_opaque="false"
auto_resize="false"
user_resize="false"
height="28"
min_width="22"
width="22">
<button
name="stop_btn"
follows="top"
image_overlay="go-media-stop.png"
label=""
bottom="-22"
height="22"
tool_tip="Stop media"
width="22">
<button.commit_callback function="MediaCtrl.MOAPStop" />
</button>
</layout_panel>
<layout_panel
name="zoom_frame"
mouse_opaque="false"