rbxstudio-mcp 2.3.0 → 2.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rbxstudio-mcp",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "MCP Server for Roblox Studio Integration - Access Studio data, scripts, and objects through AI tools",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -4847,8 +4847,11 @@ handlers.captureScreenshot = function(requestData)
4847
4847
  local sx = targetWidth / originalSize.X
4848
4848
  local sy = targetHeight / originalSize.Y
4849
4849
  local drawOk, drawErr = pcall(function()
4850
+ -- DrawImageTransformed maps the SOURCE's PivotPoint (default = source
4851
+ -- center) to the destination's `position`. Center-place the scaled
4852
+ -- source so it fills the destination.
4850
4853
  resizedImage:DrawImageTransformed(
4851
- Vector2.new(0, 0),
4854
+ Vector2.new(targetWidth / 2, targetHeight / 2),
4852
4855
  Vector2.new(sx, sy),
4853
4856
  0,
4854
4857
  editableImage,