Formatted configModel.vala

This commit is contained in:
Erik Reider 2022-01-12 17:26:10 +01:00
parent 5be4e738eb
commit 4312e00a5b

View File

@ -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 */