blob: c2869671dabccd492399bb2c89f2c8d52eca24f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from upstream git
diff --git a/src/Clients/MainApp/FSpot/GroupSelector.cs b/src/Clients/MainApp/FSpot/GroupSelector.cs
index b1e4993..63edd84 100644
--- a/src/Clients/MainApp/FSpot/GroupSelector.cs
+++ b/src/Clients/MainApp/FSpot/GroupSelector.cs
@@ -467,7 +467,7 @@ namespace FSpot {
bounds.Height = selector.background.Height;
bounds.Y = selector.background.Y;
bounds.X = selector.BoxX (item);
- bounds.Width = Math.Max (selector.BoxX (item + 1) - bounds.X, 1);
+ bounds.Width = Math.Max (selector.BoxX (item + 1) - selector.BoxX (item), 1);
if (item < 0 || item > selector.box_counts.Length - 1)
return;
|