mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 12:45:05 +00:00
Added plugin icons to Rojo (#70)
This commit is contained in:
committed by
Lucien Greathouse
parent
910be640e9
commit
7d24a14004
BIN
assets/rojo-polling-icon.png
Normal file
BIN
assets/rojo-polling-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 375 B |
BIN
assets/rojo-sync-in.png
Normal file
BIN
assets/rojo-sync-in.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 382 B |
BIN
assets/rojo-test-icon.png
Normal file
BIN
assets/rojo-test-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 430 B |
@@ -3,5 +3,10 @@ return {
|
||||
version = {0, 4, 6},
|
||||
expectedServerVersionString = "0.4.x",
|
||||
protocolVersion = 1,
|
||||
icons = {
|
||||
syncIn = "rbxassetid://1820320573",
|
||||
togglePolling = "rbxassetid://1820320064",
|
||||
testConnection = "rbxassetid://1820320989",
|
||||
},
|
||||
dev = false,
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ local function main()
|
||||
|
||||
local toolbar = plugin:CreateToolbar("Rojo Plugin " .. displayedVersion)
|
||||
|
||||
toolbar:CreateButton("Test Connection", "Connect to Rojo Server", "")
|
||||
toolbar:CreateButton("Test Connection", "Connect to Rojo Server", Config.icons.testConnection)
|
||||
.Click:Connect(function()
|
||||
checkUpgrade()
|
||||
|
||||
@@ -55,7 +55,7 @@ local function main()
|
||||
end)
|
||||
end)
|
||||
|
||||
toolbar:CreateButton("Sync In", "Sync into Roblox Studio", "")
|
||||
toolbar:CreateButton("Sync In", "Sync into Roblox Studio", Config.icons.syncIn)
|
||||
.Click:Connect(function()
|
||||
checkUpgrade()
|
||||
|
||||
@@ -65,7 +65,7 @@ local function main()
|
||||
end)
|
||||
end)
|
||||
|
||||
toolbar:CreateButton("Toggle Polling", "Poll server for changes", "")
|
||||
toolbar:CreateButton("Toggle Polling", "Poll server for changes", Config.icons.togglePolling)
|
||||
.Click:Connect(function()
|
||||
checkUpgrade()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user