mirror of
https://github.com/xlmnxp/blue-recorder.git
synced 2024-11-23 17:13:11 +03:00
add auto hide
This commit is contained in:
parent
7688528040
commit
8b7343c8f8
@ -432,6 +432,7 @@
|
||||
<object class="GtkLabel" id="delay_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="can-focus">True</property>
|
||||
<property name="margin-end">13</property>
|
||||
<property name="label" translatable="yes">label</property>
|
||||
<layout>
|
||||
<property name="column">0</property>
|
||||
|
@ -476,6 +476,7 @@ pub fn build_ui(application: &Application) {
|
||||
let _delay_window = delay_window.clone();
|
||||
let _delay_window_button = delay_window_button.clone();
|
||||
let mut _ffmpeg_record_interface = ffmpeg_record_interface.clone();
|
||||
let _main_window = main_window.clone();
|
||||
let _play_button = play_button.clone();
|
||||
let _record_button = record_button.clone();
|
||||
let _record_time_label = record_time_label.clone();
|
||||
@ -506,6 +507,7 @@ pub fn build_ui(application: &Application) {
|
||||
_ => {
|
||||
start_timer(record_time_label.clone());
|
||||
record_time_label.set_visible(true);
|
||||
_main_window.minimize();
|
||||
_play_button.hide();
|
||||
_record_button.hide();
|
||||
_stop_button.show();
|
||||
|
Loading…
Reference in New Issue
Block a user