mirror of
https://github.com/ErikReider/SwayNotificationCenter.git
synced 2024-10-06 05:17:15 +03:00
Formatted configModel.vala
This commit is contained in:
parent
5be4e738eb
commit
4312e00a5b
@ -158,42 +158,42 @@ namespace SwayNotificatonCenter {
|
|||||||
/** GtkLayerShell margins around the notification center */
|
/** GtkLayerShell margins around the notification center */
|
||||||
private int control_center_margin_top_ = 0;
|
private int control_center_margin_top_ = 0;
|
||||||
public int control_center_margin_top {
|
public int control_center_margin_top {
|
||||||
get {
|
get {
|
||||||
return control_center_margin_top_;
|
return control_center_margin_top_;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
control_center_margin_top_ = value < 0 ? 0 : value;
|
control_center_margin_top_ = value < 0 ? 0 : value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private int control_center_margin_bottom_ = 0;
|
private int control_center_margin_bottom_ = 0;
|
||||||
public int control_center_margin_bottom {
|
public int control_center_margin_bottom {
|
||||||
get {
|
get {
|
||||||
return control_center_margin_bottom_;
|
return control_center_margin_bottom_;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
control_center_margin_bottom_ = value < 0 ? 0 : value;
|
control_center_margin_bottom_ = value < 0 ? 0 : value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private int control_center_margin_left_ = 0;
|
private int control_center_margin_left_ = 0;
|
||||||
public int control_center_margin_left {
|
public int control_center_margin_left {
|
||||||
get {
|
get {
|
||||||
return control_center_margin_left_;
|
return control_center_margin_left_;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
control_center_margin_left_ = value < 0 ? 0 : value;
|
control_center_margin_left_ = value < 0 ? 0 : value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private int control_center_margin_right_ = 0;
|
private int control_center_margin_right_ = 0;
|
||||||
public int control_center_margin_right {
|
public int control_center_margin_right {
|
||||||
get {
|
get {
|
||||||
return control_center_margin_right_;
|
return control_center_margin_right_;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
control_center_margin_right_ = value < 0 ? 0 : value;
|
control_center_margin_right_ = value < 0 ? 0 : value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Methods */
|
/* Methods */
|
||||||
|
Loading…
Reference in New Issue
Block a user