node-gtk icon indicating copy to clipboard operation
node-gtk copied to clipboard

Passing array of boxed objects not working

Open romgrk opened this issue 4 years ago • 0 comments

    const rect = new Gsk.RoundedRect()
    const size = Graphene.Size.create(0, 0)
    rect.init(
      Graphene.Rect.create(0, 0, this.getAllocatedWidth(), this.getAllocatedHeight()),
      size,
      size,
      size,
      size
    )
    snapshot.appendBorder(
      rect,
      [1, 1, 1, 1],
      [RED, RED, RED, RED]
    )

The border create by the above code doesn't receive the red color.

romgrk avatar Mar 20 '21 23:03 romgrk