Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 2997b78

Browse files
committed
Added subtle flash based on @njx's feedback.
1 parent 72073de commit 2997b78

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

src/LiveDevelopment/Agents/RemoteFunctions.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,18 +260,20 @@ function RemoteFunctions(experimental) {
260260
};
261261

262262
var animateStartValues = {
263+
"background-color": "rgba(0, 162, 255, 0.5)",
263264
"opacity": 0
264265
};
265266

266267
var animateEndValues = {
268+
"background-color": "rgba(0, 162, 255, 0)",
267269
"opacity": 1
268270
};
269271

270272
var transitionValues = {
271-
"-webkit-transition-property": "opacity",
272-
"-webkit-transition-duration": "0.3s",
273-
"transition-property": "opacity",
274-
"transition-duration": "0.3s"
273+
"-webkit-transition-property": "opacity, background-color",
274+
"-webkit-transition-duration": "300ms, 2.3s",
275+
"transition-property": "opacity, background-color",
276+
"transition-duration": "300ms, 2.3s"
275277
};
276278

277279
function _setStyleValues(styleValues, obj) {

0 commit comments

Comments
 (0)