diff --git a/README.md b/README.md index 07cc1c6..6ff8fe2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # React Konva -[![Build Status](https://travis-ci.org/konvajs/react-konva.svg?branch=master)](https://travis-ci.org/konvajs/react-konva) [![Greenkeeper badge](https://badges.greenkeeper.io/konvajs/react-konva.svg)](https://greenkeeper.io/) +[![Financial Contributors on Open Collective](https://opencollective.com/konva/all/badge.svg?label=financial+contributors)](https://opencollective.com/konva) +[![npm version](https://badge.fury.io/js/react-konva.svg)](http://badge.fury.io/js/react-konva) +[![Build Status](https://github.com/konvajs/react-konva/actions/workflows/test.yml/badge.svg)](https://github.com/konvajs/react-konva/actions/workflows/test.ym) ![ReactKonva Logo](https://cloud.githubusercontent.com/assets/1443320/12193428/3bda2fcc-b623-11e5-8319-b1ccfc95eaec.png) diff --git a/package.json b/package.json index 1ccefad..d461072 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "license": "MIT", "name": "react-konva", "description": "React binding to canvas element via Konva framework", - "version": "19.0.0", + "version": "19.0.0-0", "keywords": [ "react", "canvas", diff --git a/src/ReactKonvaHostConfig.ts b/src/ReactKonvaHostConfig.ts index b825825..3b53df5 100644 --- a/src/ReactKonvaHostConfig.ts +++ b/src/ReactKonvaHostConfig.ts @@ -11,7 +11,7 @@ export { unstable_runWithPriority as run, } from 'scheduler'; import { - NoEventPriority, + // NoEventPriority, DefaultEventPriority, } from 'react-reconciler/constants.js'; @@ -21,7 +21,8 @@ const UPDATE_SIGNAL = {}; // for react-spring capability (Konva.Node.prototype as any)._applyProps = applyNodeProps; -let currentUpdatePriority: number = NoEventPriority; +// let currentUpdatePriority: number = NoEventPriority; +let currentUpdatePriority: number = DefaultEventPriority; export function appendInitialChild(parentInstance, child) { if (typeof child === 'string') { @@ -191,12 +192,7 @@ export function commitMount(instance, type, newProps) { // Noop } -export function commitUpdate( - instance, - type, - oldProps, - newProps -) { +export function commitUpdate(instance, type, oldProps, newProps) { applyNodeProps(instance, newProps, oldProps); }