v2.3.42 Fixed Chinese input and gtk3 issues for linux packagin,

And Windows Drag Region
This commit is contained in:
杨红岩 2023-01-22 21:45:09 +08:00
parent 4351e30c78
commit 8c399dde2d
2 changed files with 2 additions and 2 deletions

View File

@ -247,7 +247,7 @@ func (m *LCLBrowserWindow) doOnRenderCompMsg(message *types.TMessage, lResult *t
*lResult = HTCAPTION
*aHandled = true
} else if m.WindowProperty()._CanHideCaption && m.WindowProperty().CanResize && m.WindowState() == types.WsNormal { //1.窗口隐藏标题栏 2.启用了调整窗口大小 3.非最大化、最小化、全屏状态
if m.cwcap.borderMD {
if m.cwcap.borderMD { //TODO 测试 windows7, 161消息之后再次处理132消息导致消息错误
m.cwcap.borderMD = false
return
}

View File

@ -8,7 +8,7 @@
<script type="application/javascript">
</script>
</head>
<body style="overflow: hidden;margin: 0px;padding: 0px;border: 2px red solid;height: calc(100vh - 4px);">
<body style="overflow: hidden;margin: 0px;padding: 0px;border: 2px red solid;height: calc(100vh - 4px);background-color: grey;">
<h3>开发时测试的一个针对-webkit-app-region: drag/no-drag示例</h3>
<div style="-webkit-app-region: drag;width: 600px;border: 1px solid #000000;">
<a href="https://www.baidu.com" style="-webkit-app-region:no-drag">百度</a>&nbsp;