Browse Source

small update drawable

Ethosa 3 years ago
parent
commit
4a1ce65546
3 changed files with 6 additions and 6 deletions
  1. 1 1
      README.md
  2. 1 1
      nodesnim.nimble
  3. 4 4
      src/nodesnim/graphics/drawable.nim

+ 1 - 1
README.md

@@ -13,7 +13,7 @@ The Nim GUI/2D framework based on OpenGL and SDL2.
 [![channel icon](https://patrolavia.github.io/telegram-badge/follow.png)](https://t.me/nim1love)
 [![channel icon](https://patrolavia.github.io/telegram-badge/chat.png)](https://t.me/nodesnim)
 
-<h4>Stable version - 0.3.2</h4>
+<h4>Stable version - 0.3.3</h4>
 </div>
 
 ## Install

+ 1 - 1
nodesnim.nimble

@@ -1,7 +1,7 @@
 [Package]
 name = "nodesnim"
 author = "Ethosa"
-version = "0.3.2"
+version = "0.3.3"
 description = "The Nim GUI/2D framework based on OpenGL and SDL2."
 license = "MIT"
 srcDir = "src"

+ 4 - 4
src/nodesnim/graphics/drawable.nim

@@ -35,10 +35,10 @@ type
 template drawablepattern*(`type`: untyped): untyped =
   result = `type`(
     texture: GlTextureObj(), border_width: 0,
-    border_detail_lefttop: 20,
-    border_detail_righttop: 20,
-    border_detail_leftbottom: 20,
-    border_detail_rightbottom: 20,
+    border_detail_lefttop: 8,
+    border_detail_righttop: 8,
+    border_detail_leftbottom: 8,
+    border_detail_rightbottom: 8,
     border_radius_lefttop: 0,
     border_radius_righttop: 0,
     border_radius_leftbottom: 0,