mirror of https://github.com/fantasticit/think.git
tiptap: fix triangle, circle, diamond shape
This commit is contained in:
parent
849c6ab91f
commit
157a61ba8c
File diff suppressed because one or more lines are too long
|
@ -98177,7 +98177,7 @@ Sidebar.prototype.addGeneralPalette = function (expand) {
|
||||||
'text textbox textarea'
|
'text textbox textarea'
|
||||||
),
|
),
|
||||||
this.createVertexTemplateEntry(
|
this.createVertexTemplateEntry(
|
||||||
'ellipse;whiteSpace=wrap;html=1;',
|
'ellipse;shape=ellipse;whiteSpace=wrap;html=1;aspect=fixed;',
|
||||||
120,
|
120,
|
||||||
80,
|
80,
|
||||||
'',
|
'',
|
||||||
|
@ -98188,7 +98188,7 @@ Sidebar.prototype.addGeneralPalette = function (expand) {
|
||||||
),
|
),
|
||||||
this.createVertexTemplateEntry('whiteSpace=wrap;html=1;aspect=fixed;', 80, 80, '', 'Square', null, null, 'square'),
|
this.createVertexTemplateEntry('whiteSpace=wrap;html=1;aspect=fixed;', 80, 80, '', 'Square', null, null, 'square'),
|
||||||
this.createVertexTemplateEntry(
|
this.createVertexTemplateEntry(
|
||||||
'ellipse;whiteSpace=wrap;html=1;aspect=fixed;',
|
'ellipse;shape=ellipse;whiteSpace=wrap;html=1;aspect=fixed;',
|
||||||
80,
|
80,
|
||||||
80,
|
80,
|
||||||
'',
|
'',
|
||||||
|
@ -98208,7 +98208,7 @@ Sidebar.prototype.addGeneralPalette = function (expand) {
|
||||||
'process task'
|
'process task'
|
||||||
),
|
),
|
||||||
this.createVertexTemplateEntry(
|
this.createVertexTemplateEntry(
|
||||||
'rhombus;whiteSpace=wrap;html=1;',
|
'html=1;whiteSpace=wrap;aspect=fixed;shape=isoRectangle;',
|
||||||
80,
|
80,
|
||||||
80,
|
80,
|
||||||
'',
|
'',
|
||||||
|
@ -98235,7 +98235,7 @@ Sidebar.prototype.addGeneralPalette = function (expand) {
|
||||||
'hexagon preparation'
|
'hexagon preparation'
|
||||||
),
|
),
|
||||||
this.createVertexTemplateEntry(
|
this.createVertexTemplateEntry(
|
||||||
'triangle;whiteSpace=wrap;html=1;',
|
'triangle;shape=triangle;whiteSpace=wrap;html=1;',
|
||||||
60,
|
60,
|
||||||
80,
|
80,
|
||||||
'',
|
'',
|
||||||
|
@ -109284,8 +109284,6 @@ if (typeof mxVertexHandler != 'undefined') {
|
||||||
* Loads the stylesheet for this graph.
|
* Loads the stylesheet for this graph.
|
||||||
*/
|
*/
|
||||||
Graph.prototype.loadStylesheet = function () {
|
Graph.prototype.loadStylesheet = function () {
|
||||||
console.log('STYLE_PATH', STYLE_PATH + '/default.xml');
|
|
||||||
|
|
||||||
var node =
|
var node =
|
||||||
this.themes != null
|
this.themes != null
|
||||||
? this.themes[this.defaultThemeName]
|
? this.themes[this.defaultThemeName]
|
||||||
|
@ -134219,6 +134217,7 @@ var LayersWindow = function (editorUi, x, y, w, h) {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/** eslint-disable */
|
||||||
// S 草图支持
|
// S 草图支持
|
||||||
function rotatePoints(points, center, degrees) {
|
function rotatePoints(points, center, degrees) {
|
||||||
if (points && points.length) {
|
if (points && points.length) {
|
||||||
|
|
Loading…
Reference in New Issue