4xx / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 0 forks source link

Function / Menu Customization Show Stopper ! #621

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After commenting out the rectangle and circle tool options, the text tool,
specifically,
<div class="tool_button" id="tool_text" title="Text Tool [6]"></div>
no long works.

It brought up attributes screen, which seemed to have calculated wrong
coordinates, e.g. x=-240 and y=-672
hence, the text box does not land in the canvas.

Tested with Firefox 3.67 and Chrome 5.0x; OS = Vista Pro.

Original issue reported on code.google.com by tatata9...@gmail.com on 23 Jul 2010 at 7:42

GoogleCodeExporter commented 9 years ago
Could we set Prority to High for it's critical important in my view.  Thanks.

Original comment by tatata9...@gmail.com on 23 Jul 2010 at 7:45

GoogleCodeExporter commented 9 years ago
I'm afraid I can't seem to recreate this...could you be more specific about 
exactly what parts you're commenting out?

One workaround might be to use CSS to hide the buttons, rather than comment out 
the HTML.

Original comment by adeve...@gmail.com on 23 Jul 2010 at 8:50

GoogleCodeExporter commented 9 years ago
Hi,  i tried a few customizations....

attempt 1
I commented out the following lines, which resulted in problem.

    <div class="tool_button flyout_current" id="tools_rect_show" title="Square/Rect Tool [4/Shift+4]">
        <div class="flyout_arrow_horiz"></div>
    </div>
    <div class="tool_button flyout_current" id="tools_ellipse_show" title="Ellipse/Circle Tool [5/Shift+5]">
        <div class="flyout_arrow_horiz"></div>
    </div>

attempt 2
went to the svg-editor.min.js file,
and removed unwanted options including square, rect and ellipse item/value 
pairs.
and resulted in nothing rendered.  I guess this is not the right way to do it, 
then, how?  

Thanks.

Original comment by tatata9...@gmail.com on 23 Jul 2010 at 9:15

GoogleCodeExporter commented 9 years ago
adeveria, your workaround works, btw, how to disable the "eye dropper tool", 
couldn't locate it anywhere?  thanks, don

Original comment by tatata9...@gmail.com on 23 Jul 2010 at 10:44

GoogleCodeExporter commented 9 years ago
You can disable the eye-dropper by removing it from the extensions array in 
svg-editor.js (look for ext-eyedropper), or by redefining the extensions you'd 
like to include in setConfig. (i.e. {extensions: []} to load none).

Original comment by adeve...@gmail.com on 25 Jul 2010 at 2:31

GoogleCodeExporter commented 9 years ago
Are you working on the Trunk version of svg-edit?  Commenting out HTML failed 
before Issue #510 was resolved last week.

Original comment by jacob.brookover on 26 Jul 2010 at 1:19