From f33cd393006169f6379875a11bf6ab1fbaf0d52e Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Mon, 18 Oct 2021 22:26:34 +1300 Subject: [PATCH] Add conditional highlighting to Undo/Redo --- client/homebrew/editor/snippetbar/snippetbar.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/homebrew/editor/snippetbar/snippetbar.jsx b/client/homebrew/editor/snippetbar/snippetbar.jsx index b4ad37eba..84888b3d0 100644 --- a/client/homebrew/editor/snippetbar/snippetbar.jsx +++ b/client/homebrew/editor/snippetbar/snippetbar.jsx @@ -24,7 +24,8 @@ const Snippetbar = createClass({ showEditButtons : true, renderer : 'legacy', undo : ()=>{}, - redo : ()=>{} + redo : ()=>{}, + historySize : ()=>{} }; }, @@ -62,11 +63,11 @@ const Snippetbar = createClass({ if(!this.props.showEditButtons) return; return
-
-