Skip to content

Commit 3624c47

Browse files
fix: Merge pull request #247 from Fiknt/patch-1
Update store.simba
2 parents aa9d041 + 618046d commit 3624c47

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

osr/interfaces/mainscreen/store.simba

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,17 @@ begin
7373
Self.SlotBoxes := Grid(8, 5, 35, 32, [12, 16], [Self.Bounds.X1 + 61, Self.Bounds.Y1 + 40]);
7474
Self.ItemsArea := Self.SlotBoxes.Merge();
7575

76-
Self.InfoBox.X1 := Self.Bounds.X1 + 50;
77-
Self.InfoBox.Y1 := Self.Bounds.Y2 - 26;
78-
Self.InfoBox.X2 := Self.Bounds.X2 - 50;
79-
Self.InfoBox.Y2 := Self.Bounds.Y2 - 9;
76+
Self.InfoBox.X1 := Self.Bounds.X1 + 30;
77+
Self.InfoBox.Y1 := Self.Bounds.Y2 - 35;
78+
Self.InfoBox.X2 := Self.Bounds.X1 + 100;
79+
Self.InfoBox.Y2 := Self.Bounds.Y2 - 12;
8080
Self.InfoBox.LimitTo(Self.Bounds);
8181
end;
8282

8383

8484
function TRSStore.IsOpen(): Boolean;
8585
begin
86-
Result := 'shop' in OCR.Recognize(Self.InfoBox, TOCRThresholdFilter.Create(15), RS_FONT_PLAIN_12);
86+
Result := ['Value','check'] in OCR.Recognize(Self.InfoBox, TOCRThresholdFilter.Create(15), RS_FONT_PLAIN_12);
8787
end;
8888

8989
function TRSStore.IsOpen(WaitTime: Int32): Boolean; overload;

0 commit comments

Comments
 (0)