amir1376 / amir1376/compose-custom-window-frame

system buttons is not well positioned

未關閉
#1 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug help wanted
主要語言
Kotlin
星號
48
分支
1
PR 合併指標
30 天內沒有已合併 PR

描述

There is an issue [here](https://github.com/amir1376/compose-custom-window-frame/blob/7d8ef846f6aa3c88c349ea4de21262dfafe36206/lib/src/main/kotlin/ir/amirab/ToolbarItem.kt#L109) when I want to convert compose Layout Coordinates to `java.awt.Rectangle`
to let `java.awt` know about hit spots. I have to manually add extra offset to `x`'s offset to accurate button position!

in my case this offset addition is `11f` but it may be different in other screens

maybe it needs scale factor or something

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。