8000 Fix the issue that prevented setting the position on open windows · LunashaGit/laravel-nativephp@02106ec · GitHub
[go: up one dir, main page]

Skip to content

Commit 02106ec

Browse files
Fix the issue that prevented setting the position on open windows
1 parent a1e38b5 commit 02106ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Windows/WindowManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function resize($width, $height, $id = null)
4242

4343
public function position($x, $y, $animated = false, $id = null)
4444
{
45-
$this->client->post('window/resize', [
45+
$this->client->post('window/position', [
4646
'id' => $id ?? $this->detectId(),
4747
'x' => $x,
4848
'y' => $y,

0 commit comments

Comments
 (0)
0