index 30cd0dfa0b31f5e99debf16a6a8704cb0dbb4934..a23b157df6a7150aff20bae8cfe9c670c587ba9c 100644 (file)
if (z == current_z)
return;
- if (z > current_z)
+ if (z > current_z) {
sp_canvas_item_raise (item, z - current_z);
-
- sp_canvas_item_lower (item, current_z - z);
+ } else {
+ sp_canvas_item_lower (item, current_z - z);
+ }
}
gint