diff --git a/README.md b/README.md
index 82ab6ca..12c2392 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,6 @@ Call your site with GET parameters to change the WhiteboardID or the Username
* You shoud be able to customize without ever toutching the whiteboard.js (take a look at index.html & main.js)
## ToDo
-* Show indicator on slider which tool is active (Pen, Text...)
* Make undo function more reliable on texts
* Add more callbacks for errors and things ...
diff --git a/public/index.html b/public/index.html
index 8833e51..05e9c6b 100644
--- a/public/index.html
+++ b/public/index.html
@@ -63,7 +63,8 @@
-
+
+
diff --git a/public/js/main.js b/public/js/main.js
index cb052ad..c2965ad 100644
--- a/public/js/main.js
+++ b/public/js/main.js
@@ -62,7 +62,13 @@ $(document).ready(function () {
$(".whiteboardTool").click(function () {
$(".whiteboardTool").removeClass("active");
$(this).addClass("active");
- whiteboard.setTool($(this).attr("tool"));
+ var activeTool = $(this).attr("tool");
+ whiteboard.setTool(activeTool);
+ if(activeTool == "mouse" || activeTool == "recSelect") {
+ $(".activeToolIcon").empty();
+ } else {
+ $(".activeToolIcon").html($(this).html()); //Set Active icon the same as the button icon
+ }
});
// upload image button