mirror of
https://gitee.com/energye/energy.git
synced 2024-12-02 11:47:37 +08:00
v2.3.38 Fixed Chinese input and gtk3 issues for linux packagin,
And Windows Drag Region
This commit is contained in:
parent
63b4c02ed0
commit
09ba99694a
@ -143,11 +143,15 @@ func (m *LCLBrowserWindow) doOnRenderCompMsg(message *types.TMessage, lResult *t
|
||||
}
|
||||
}
|
||||
|
||||
//每一次拖拽区域改变都需要重新设置
|
||||
func (m *LCLBrowserWindow) setDraggableRegions() {
|
||||
//在主线程中运行
|
||||
QueueAsyncCall(func(id int) {
|
||||
if m.cwcap.rgn == nil {
|
||||
//第一次时创建RGN
|
||||
m.cwcap.rgn = WinCreateRectRgn(0, 0, 0, 0)
|
||||
} else {
|
||||
//每次重置RGN
|
||||
WinSetRectRgn(m.cwcap.rgn, 0, 0, 0, 0)
|
||||
}
|
||||
for i := 0; i < m.cwcap.regions.RegionsCount(); i++ {
|
||||
|
Loading…
Reference in New Issue
Block a user