mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
commit
def0583b81
@ -93,7 +93,7 @@ bool MouseStyleOhos::SetPointerStyle(int32_t windowId, MouseFormat pointerStyle)
|
||||
}
|
||||
MMI::PointerStyle style;
|
||||
style.id = MMIPointStyle;
|
||||
TAG_LOGI(AceLogTag::ACE_MOUSE, "SetPointerStyle windowId=%{public}d style=%{public}d isUIExtension=%{public}d",
|
||||
TAG_LOGD(AceLogTag::ACE_MOUSE, "SetPointerStyle windowId=%{public}d style=%{public}d isUIExtension=%{public}d",
|
||||
windowId, static_cast<int32_t>(pointerStyle), isUIExtension);
|
||||
int32_t setResult = inputManager->SetPointerStyle(windowId, style, isUIExtension);
|
||||
if (setResult == -1) {
|
||||
|
@ -3388,9 +3388,8 @@ void PipelineContext::DispatchMouseEvent(
|
||||
bool PipelineContext::ChangeMouseStyle(int32_t nodeId, MouseFormat format, int32_t windowId, bool isByPass)
|
||||
{
|
||||
if (static_cast<int32_t>(format) == 0) {
|
||||
TAG_LOGI(AceLogTag::ACE_MOUSE, "ChangeMouseStyle nodeId=%{public}d style=%{public}d windowId=%{public}d "
|
||||
"isByPass=%{public}d mouseStyleNodeId_=%{public}d",
|
||||
nodeId, static_cast<int32_t>(format), windowId, isByPass, mouseStyleNodeId_.value_or(-1));
|
||||
TAG_LOGI(AceLogTag::ACE_MOUSE, "ChangeMouseStyle [%{public}d,%{public}d,%{public}d,%{public}d,%{public}d]",
|
||||
nodeId, mouseStyleNodeId_.value_or(-1), static_cast<int32_t>(format), windowId, isByPass);
|
||||
}
|
||||
auto window = GetWindow();
|
||||
if (window && window->IsUserSetCursor()) {
|
||||
|
Loading…
Reference in New Issue
Block a user