mirror of
https://github.com/openharmony/windowmanager.git
synced 2026-07-19 17:08:11 -04:00
!260 修复JsWindow::OnSetColorSpace错误
Merge pull request !260 from YaoJian/feature_gamut_wms
This commit is contained in:
@@ -986,7 +986,7 @@ NativeValue* JsWindow::OnSetColorSpace(NativeEngine& engine, NativeCallbackInfo&
|
||||
return;
|
||||
}
|
||||
windowToken_->SetColorSpace(colorSpace);
|
||||
task.Resolve(engine, CreateJsValue(engine, engine.CreateUndefined()));
|
||||
task.Resolve(engine, engine.CreateUndefined());
|
||||
};
|
||||
|
||||
NativeValue* lastParam = (info.argc <= ARGC_ONE) ? nullptr :
|
||||
|
||||
Reference in New Issue
Block a user