Quantcast
Channel: Northwoods Software - Latest topics
Viewing all articles
Browse latest Browse all 7417

Shape flickering if using 2-way binding along with function

$
0
0

@anupamsinghbisht wrote:

I am using gojs pallet and diagram, while dropping objects into diagram I need to check its scale so the I can resize object as follows:

new go.Binding("strokeWidth", "", function () {
return 1 / mydiagram.scale;
}).makeTwoWay(),
new go.Binding("height", "height", function (s) {
return s / mydiagram.scale;
}).makeTwoWay(),
new go.Binding("width", "width", function (s) {
return s / mydiagram.scale;
}).makeTwoWay(),

but when I am zooming to scale level 5 or above object is flickering on resize and working fine in I using 1-way binding. I need 2-binding with smooth resizing/reshaping because I am saving object for future use.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7417

Trending Articles