automated snapshot
This commit is contained in:
@@ -132,6 +132,7 @@ func (s *Sketch) Draw(ctx *RenderCtx) {
|
||||
for _, instance := range s.layerToolsOrdered {
|
||||
config := instance.config
|
||||
if config.visible {
|
||||
/*
|
||||
var r uint8 = 0
|
||||
if config.rVisible {
|
||||
r = config.r
|
||||
@@ -144,7 +145,8 @@ func (s *Sketch) Draw(ctx *RenderCtx) {
|
||||
if config.bVisible {
|
||||
b = config.b
|
||||
}
|
||||
tint := rl.NewColor(r, g, b, config.a)
|
||||
*/
|
||||
tint := rl.NewColor(config.a, config.a, config.a, 255)
|
||||
rl.DrawTexturePro(instance.texture.Texture, src, dst, rl.Vector2{}, 0, tint)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user