summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPooja Soundalgekar2016-07-12 15:44:54 +0530
committerPooja Soundalgekar2016-07-12 15:44:54 +0530
commit237595a09c62195ba7f2ac11460fbe277ed1874b (patch)
tree374154bc42037b5a5f09856f60b309da6aba8b79
parent5b55cf3036020eebf89bc43270d502b18f399347 (diff)
downloadxcos-on-web-237595a09c62195ba7f2ac11460fbe277ed1874b.tar.gz
xcos-on-web-237595a09c62195ba7f2ac11460fbe277ed1874b.tar.bz2
xcos-on-web-237595a09c62195ba7f2ac11460fbe277ed1874b.zip
formatMenu in orientation
-rwxr-xr-xindex.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/index.html b/index.html
index 52adf8a..a4f3632 100755
--- a/index.html
+++ b/index.html
@@ -192,22 +192,22 @@
menu.addItem('Selection to superblock', 'images/superblock.png', function() {
// @ToDo: Functionality to be put.
});
- var format = menu.addItem('Format', null, null);
+ var formatMenu = menu.addItem('Format', null, null);
menu.addItem('Rotate', 'images/rotate.png', function() {
editor.execute('rotateCustom');
- }, format);
+ }, formatMenu);
menu.addItem('Flip', 'images/flip.png', function() {
editor.execute('flipCustom');
- }, format);
+ }, formatMenu);
menu.addItem('Mirror', 'images/mirror.png', function() {
editor.execute('mirrorCustom');
- }, format);
+ }, formatMenu);
menu.addItem('Border Color', 'images/draw-brush.png', function() {
showColorWheel(graph, cell, 'vertexStrokeColor');
- }, format);
+ }, formatMenu);
menu.addItem('Fill Color', 'images/edit.png', function() {
showColorWheel(graph, cell, 'vertexFillColor');
- }, format);
+ }, formatMenu);
menu.addItem('Details', null, function() {
// @ToDo: Functionality to be put.
});