mirror of
https://github.com/fantasticit/think.git
synced 2026-09-21 04:37:11 +08:00
tiptap: fix triangle, circle, diamond shape
This commit is contained in:
+1
-1
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user